Class RescoreQuery
java.lang.Object
co.elastic.clients.elasticsearch.core.search.RescoreQuery
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<RescoreQuery>
Json deserializer forRescoreQuery
-
Method Summary
Modifier and TypeMethodDescriptionstatic RescoreQuery
final Query
query()
Required - The query to use for rescoring.final Double
Relative importance of the original query versus the rescore query.final Double
Relative importance of the rescore query versus the original query.final ScoreMode
Determines how scores are combined.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forRescoreQuery
-
-
Method Details
-
of
-
query
Required - The query to use for rescoring. This query is only run on the Top-K results returned by thequery
andpost_filter
phases.API name:
rescore_query
-
queryWeight
Relative importance of the original query versus the rescore query.API name:
query_weight
-
rescoreQueryWeight
Relative importance of the rescore query versus the original query.API name:
rescore_query_weight
-
scoreMode
Determines how scores are combined.API name:
score_mode
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRescoreQueryDeserializer
-