Class TermsSetQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.TermsSetQuery
- 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<TermsSetQuery>Json deserializer forTermsSetQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final Stringfield()Required - The target fieldfinal StringNumeric field containing the number of matching terms required to return a document.final ScriptCustom script containing the number of matching terms required to return a document.static TermsSetQueryprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidterms()Required - Array of terms you wish to find in the provided field.Methods 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 forTermsSetQuery
-
-
Method Details
-
of
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - The target field -
minimumShouldMatchField
Numeric field containing the number of matching terms required to return a document.API name:
minimum_should_match_field -
minimumShouldMatchScript
Custom script containing the number of matching terms required to return a document.API name:
minimum_should_match_script -
terms
Required - Array of terms you wish to find in the provided field.API name:
terms -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupTermsSetQueryDeserializer
-