Class DisMaxQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.DisMaxQuery
- 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<DisMaxQuery>Json deserializer forDisMaxQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.static DisMaxQueryqueries()Required - One or more query clauses.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal DoubleFloating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.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 forDisMaxQuery
-
-
Method Details
-
of
-
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
queries
Required - One or more query clauses. Returned documents must match one or more of these queries. If a document matches multiple queries, Elasticsearch uses the highest relevance score.API name:
queries -
tieBreaker
Floating point number between 0 and 1.0 used to increase the relevance scores of documents matching multiple query clauses.API name:
tie_breaker -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupDisMaxQueryDeserializer
-