Class RankFeatureQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.RankFeatureQuery
- 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<RankFeatureQuery>Json deserializer forRankFeatureQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final Stringfield()Required -rank_featureorrank_featuresfield used to boost relevance scores.linear()Linear function used to boost relevance scores based on the value of the rank featurefield.log()Logarithmic function used to boost relevance scores based on the value of the rank featurefield.static RankFeatureQuerySaturation function used to boost relevance scores based on the value of the rank featurefield.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsigmoid()Sigmoid function used to boost relevance scores based on the value of the rank featurefield.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 forRankFeatureQuery
-
-
Method Details
-
of
public static RankFeatureQuery of(Function<RankFeatureQuery.Builder, ObjectBuilder<RankFeatureQuery>> fn) -
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required -rank_featureorrank_featuresfield used to boost relevance scores.API name:
field -
saturation
Saturation function used to boost relevance scores based on the value of the rank featurefield.API name:
saturation -
log
Logarithmic function used to boost relevance scores based on the value of the rank featurefield.API name:
log -
linear
Linear function used to boost relevance scores based on the value of the rank featurefield.API name:
linear -
sigmoid
Sigmoid function used to boost relevance scores based on the value of the rank featurefield.API name:
sigmoid -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupRankFeatureQueryDeserializer
protected static void setupRankFeatureQueryDeserializer(ObjectDeserializer<RankFeatureQuery.Builder> op)
-