Class LearningToRank
java.lang.Object
co.elastic.clients.elasticsearch.core.search.LearningToRank
- All Implemented Interfaces:
RescoreVariant
,JsonpSerializable
@JsonpDeserializable
public class LearningToRank
extends Object
implements RescoreVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<LearningToRank>
Json deserializer forLearningToRank
-
Method Summary
Modifier and TypeMethodDescriptionRescore variant kind.final String
modelId()
Required - The unique identifier of the trained model uploaded to Elasticsearchstatic LearningToRank
params()
Named parameters to be passed to the query templates used for featurevoid
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()
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.core.search.RescoreVariant
_toRescore
-
Field Details
-
_DESERIALIZER
Json deserializer forLearningToRank
-
-
Method Details
-
of
-
_rescoreKind
Rescore variant kind.- Specified by:
_rescoreKind
in interfaceRescoreVariant
-
modelId
Required - The unique identifier of the trained model uploaded to ElasticsearchAPI name:
model_id
-
params
Named parameters to be passed to the query templates used for featureAPI name:
params
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupLearningToRankDeserializer
protected static void setupLearningToRankDeserializer(ObjectDeserializer<LearningToRank.Builder> op)
-