Class PercolateQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.PercolateQuery
- 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<PercolateQuery>Json deserializer forPercolateQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final JsonDatadocument()The source of the document being percolated.An array of sources of the documents being percolated.final Stringfield()Required - Field that holds the indexed queries.final Stringid()The ID of a stored document to percolate.final Stringindex()The index of a stored document to percolate.final Stringname()The suffix used for the_percolator_document_slotfield when multiplepercolatequeries are specified.static PercolateQueryfinal StringPreference used to fetch document to percolate.final Stringrouting()Routing used to fetch document to percolate.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Longversion()The expected version of a stored document to percolate.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 forPercolateQuery
-
-
Method Details
-
of
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
document
The source of the document being percolated.API name:
document -
documents
An array of sources of the documents being percolated.API name:
documents -
field
Required - Field that holds the indexed queries. The field must use thepercolatormapping type.API name:
field -
id
The ID of a stored document to percolate.API name:
id -
index
The index of a stored document to percolate.API name:
index -
name
The suffix used for the_percolator_document_slotfield when multiplepercolatequeries are specified.API name:
name -
preference
Preference used to fetch document to percolate.API name:
preference -
routing
Routing used to fetch document to percolate.API name:
routing -
version
The expected version of a stored document to percolate.API name:
version -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupPercolateQueryDeserializer
protected static void setupPercolateQueryDeserializer(ObjectDeserializer<PercolateQuery.Builder> op)
-