Class FunctionScoreQuery
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.FunctionScoreQuery
- 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<FunctionScoreQuery>Json deserializer forFunctionScoreQuery -
Method Summary
Modifier and TypeMethodDescriptionQuery variant kind.final FunctionBoostModeAPI name:boost_modefinal List<FunctionScore>API name:functionsfinal DoublemaxBoost()API name:max_boostfinal DoubleminScore()API name:min_scorestatic FunctionScoreQueryfinal Queryquery()API name:queryfinal FunctionScoreModeAPI name:score_modeprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods 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 forFunctionScoreQuery
-
-
Method Details
-
of
public static FunctionScoreQuery of(Function<FunctionScoreQuery.Builder, ObjectBuilder<FunctionScoreQuery>> fn) -
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
boostMode
API name:boost_mode -
functions
API name:functions -
maxBoost
API name:max_boost -
minScore
API name:min_score -
query
API name:query -
scoreMode
API name:score_mode -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
setupFunctionScoreQueryDeserializer
protected static void setupFunctionScoreQueryDeserializer(ObjectDeserializer<FunctionScoreQuery.Builder> op)
-