Modifier and Type | Method and Description |
---|---|
Explanation |
getExplanation() |
Map<String,List<Object>> |
getFields() |
default <V> V |
getFieldValue(String name)
The first value of the given field.
|
default Map<String,List<String>> |
getHighlightFields() |
default Map<String,SearchDocumentResponse> |
getInnerHits() |
List<String> |
getMatchedQueries() |
default NestedMetaData |
getNestedMetaData() |
default String |
getRouting() |
float |
getScore()
Return the search
score . |
default Object[] |
getSortValues() |
create, from, fromJson, getId, getIndex, getPrimaryTerm, getSeqNo, getVersion, hasId, hasPrimaryTerm, hasSeqNo, hasVersion, parse, setId, setIndex, setPrimaryTerm, setSeqNo, setVersion, transform
append, get, getBoolean, getBooleanOrDefault, getBooleanOrDefault, getInt, getIntOrDefault, getIntOrDefault, getLong, getLongOrDefault, getLongOrDefault, getString, getStringOrDefault, getStringOrDefault, toJson
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
float getScore()
score
.score
.@Nullable default <V> V getFieldValue(String name)
name
- the field name@Nullable default Object[] getSortValues()
@Nullable default Map<String,List<String>> getHighlightFields()
@Nullable default Map<String,SearchDocumentResponse> getInnerHits()
@Nullable default NestedMetaData getNestedMetaData()
@Nullable default String getRouting()
@Nullable Explanation getExplanation()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.