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 classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<PercolateQuery>
Json deserializer forPercolateQuery
-
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final JsonData
document()
The source of the document being percolated.An array of sources of the documents being percolated.final String
field()
Required - Field that holds the indexed queries.final String
id()
The ID of a stored document to percolate.final String
index()
The index of a stored document to percolate.final String
name()
The suffix used for the_percolator_document_slot
field when multiplepercolate
queries are specified.static PercolateQuery
final String
Preference used to fetch document to percolate.final String
routing()
Routing used to fetch document to percolate.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final Long
version()
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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
_queryKind
in 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 thepercolator
mapping 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_slot
field when multiplepercolate
queries 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:
serializeInternal
in classQueryBase
-
setupPercolateQueryDeserializer
protected static void setupPercolateQueryDeserializer(ObjectDeserializer<PercolateQuery.Builder> op)
-