Class NestedQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.NestedQuery
- All Implemented Interfaces:
QueryVariant,JsonpSerializable
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<NestedQuery>Json deserializer forNestedQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final BooleanIndicates whether to ignore an unmapped path and not return any documents instead of an error.final InnerHitsIf defined, each search hit will contain inner hits.static NestedQueryfinal Stringpath()Required - Path to the nested object you wish to search.final Queryquery()Required - Query you wish to run on nested objects in the path.final ChildScoreModeHow scores for matching child objects affect the root parent document’s relevance score.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializer, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.query_dsl.QueryVariant
_toQuery
-
Field Details
-
_DESERIALIZER
Json deserializer forNestedQuery
-
-
Method Details
-
of
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
ignoreUnmapped
Indicates whether to ignore an unmapped path and not return any documents instead of an error.API name:
ignore_unmapped -
innerHits
If defined, each search hit will contain inner hits.API name:
inner_hits -
path
Required - Path to the nested object you wish to search.API name:
path -
query
Required - Query you wish to run on nested objects in the path.API name:
query -
scoreMode
How scores for matching child objects affect the root parent document’s relevance score.API name:
score_mode -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupNestedQueryDeserializer
-