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 StringmodelId()Required - The unique identifier of the trained model uploaded to Elasticsearchstatic LearningToRankparams()Named parameters to be passed to the query templates used for featurevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
_rescoreKindin 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupLearningToRankDeserializer
protected static void setupLearningToRankDeserializer(ObjectDeserializer<LearningToRank.Builder> op)
-