Class InnerHits
java.lang.Object
co.elastic.clients.elasticsearch.core.search.InnerHits
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<InnerHits>Json deserializer forInnerHits -
Method Summary
Modifier and TypeMethodDescriptionfinal FieldCollapsecollapse()API name:collapsefinal List<FieldAndFormat>API name:docvalue_fieldsfinal Booleanexplain()API name:explainfields()API name:fieldsfinal Integerfrom()Inner hit starting document offset.final HighlightAPI name:highlightfinal BooleanAPI name:ignore_unmappedfinal Stringname()The name for the particular inner hit definition in the response.static InnerHitsfinal Map<String,ScriptField> API name:script_fieldsfinal BooleanAPI name:seq_no_primary_termvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integersize()The maximum number of hits to return perinner_hits.final List<SortOptions>sort()How the inner hits should be sorted perinner_hits.final SourceConfigsource()API name:_sourceAPI name:stored_fieldstoString()final BooleanAPI name:track_scoresfinal Booleanversion()API name:version
-
Field Details
-
_DESERIALIZER
Json deserializer forInnerHits
-
-
Method Details
-
of
-
name
The name for the particular inner hit definition in the response. Useful when a search request contains multiple inner hits.API name:
name -
size
The maximum number of hits to return perinner_hits.API name:
size -
from
Inner hit starting document offset.API name:
from -
collapse
API name:collapse -
docvalueFields
API name:docvalue_fields -
explain
API name:explain -
highlight
API name:highlight -
ignoreUnmapped
API name:ignore_unmapped -
scriptFields
API name:script_fields -
seqNoPrimaryTerm
API name:seq_no_primary_term -
fields
API name:fields -
sort
How the inner hits should be sorted perinner_hits. By default, inner hits are sorted by score.API name:
sort -
source
API name:_source -
storedFields
API name:stored_fields -
trackScores
API name:track_scores -
version
API name:version -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupInnerHitsDeserializer
-