Class RescoreQuery
java.lang.Object
co.elastic.clients.elasticsearch.core.search.RescoreQuery
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RescoreQuery>Json deserializer forRescoreQuery -
Method Summary
Modifier and TypeMethodDescriptionstatic RescoreQueryfinal Queryquery()Required - The query to use for rescoring.final DoubleRelative importance of the original query versus the rescore query.final DoubleRelative importance of the rescore query versus the original query.final ScoreModeDetermines how scores are combined.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
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 thequeryandpost_filterphases.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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRescoreQueryDeserializer
-