public class TopHitsAggregation extends SearchResult
SearchResult.Hit<T,K>JestResult.MetaField| Modifier and Type | Field and Description |
|---|---|
protected com.google.gson.JsonObject |
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, gson, isSucceeded, jsonObject, jsonString, META_FIELDS, pathToResult, responseCode| Constructor and Description |
|---|
TopHitsAggregation(String name,
com.google.gson.JsonObject topHitAggregation) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
extractHighlight, extractHit, extractSort, getAggregations, getFirstHit, getFirstHit, getHits, getHits, getHits, getMaxScore, getPath, getSourceAsObject, getSourceAsObjectList, getTotalcreateSourceObject, extractSource, extractSource, getErrorMessage, getJsonMap, getJsonObject, getJsonString, getKeys, getPathToResult, getResponseCode, getSourceAsString, getSourceAsStringList, getValue, isSucceeded, setErrorMessage, setJsonMap, setJsonObject, setJsonString, setPathToResult, setResponseCode, setSucceededprotected String name
protected com.google.gson.JsonObject jsonRoot
public static final String TYPE
public TopHitsAggregation(String name, com.google.gson.JsonObject topHitAggregation)
public String getName()
Copyright © 2017. All rights reserved.