public class SearchDocumentResponse extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SearchDocumentResponse.EntityCreator<T>
A function to convert a
SearchDocument async into an entity. |
| Constructor and Description |
|---|
SearchDocumentResponse(long totalHits,
String totalHitsRelation,
float maxScore,
String scrollId,
List<SearchDocument> searchDocuments,
AggregationsContainer<?> aggregationsContainer,
Suggest suggest) |
| Modifier and Type | Method and Description |
|---|---|
AggregationsContainer<?> |
getAggregations() |
float |
getMaxScore() |
String |
getScrollId() |
List<SearchDocument> |
getSearchDocuments() |
Suggest |
getSuggest() |
long |
getTotalHits() |
String |
getTotalHitsRelation() |
public SearchDocumentResponse(long totalHits,
String totalHitsRelation,
float maxScore,
@Nullable
String scrollId,
List<SearchDocument> searchDocuments,
@Nullable
AggregationsContainer<?> aggregationsContainer,
@Nullable
Suggest suggest)
public long getTotalHits()
public String getTotalHitsRelation()
public float getMaxScore()
public List<SearchDocument> getSearchDocuments()
@Nullable public AggregationsContainer<?> getAggregations()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.