public class TopHitsAggregation extends SearchResult
SearchResult.Hit<T,K>JestResult.MetaField| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.JsonNode |
jsonRoot |
protected String |
name |
static String |
TYPE |
EXPLANATION_KEY, HIGHLIGHT_KEY, PATH_TO_MAX_SCORE, PATH_TO_TOTAL, SORT_KEYerrorMessage, ES_METADATA_ID, ES_METADATA_VERSION, isSucceeded, jsonObject, jsonString, META_FIELDS, objectMapper, pathToResult, responseCode| Constructor and Description |
|---|
TopHitsAggregation(String name,
com.fasterxml.jackson.databind.JsonNode topHitAggregation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
extractHighlight, extractHit, extractSort, getAggregations, getFirstHit, getFirstHit, getHits, getHits, getHits, getHits, getHits, getMaxScore, getPath, getSourceAsObject, getSourceAsObjectList, getTotalcreateSourceObject, extractSource, extractSource, getErrorMessage, getJsonMap, getJsonObject, getJsonString, getKeys, getPathToResult, getResponseCode, getSourceAsObject, getSourceAsObjectList, getSourceAsString, getSourceAsStringList, getValue, isSucceeded, setErrorMessage, setJsonMap, setJsonObject, setJsonString, setPathToResult, setResponseCode, setSucceededprotected String name
protected com.fasterxml.jackson.databind.JsonNode jsonRoot
public static final String TYPE
public TopHitsAggregation(String name, com.fasterxml.jackson.databind.JsonNode topHitAggregation)
public String getName()
Copyright © 2018. All rights reserved.