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
@JsonpDeserializable public class FunctionScoreQuery extends QueryBase implements QueryVariant
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFunctionScoreQuery.BuilderBuilder forFunctionScoreQuery.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FunctionScoreQuery>_DESERIALIZERJson deserializer forFunctionScoreQuery -
Method Summary
Modifier and Type Method Description Query.Kind_queryKind()Query variant kind.FunctionBoostModeboostMode()API name:boost_modejava.util.List<FunctionScore>functions()API name:functionsjava.lang.DoublemaxBoost()API name:max_boostjava.lang.DoubleminScore()API name:min_scorestatic FunctionScoreQueryof(java.util.function.Function<FunctionScoreQuery.Builder,ObjectBuilder<FunctionScoreQuery>> fn)Queryquery()API name:queryFunctionScoreModescoreMode()API name:score_modeprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFunctionScoreQueryDeserializer(ObjectDeserializer<FunctionScoreQuery.Builder> op)Methods inherited from class co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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(java.util.function.Function<FunctionScoreQuery.Builder,ObjectBuilder<FunctionScoreQuery>> fn) -
_queryKind
Query variant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
boostMode
API name:boost_mode -
functions
API name:functions -
maxBoost
@Nullable public final java.lang.Double maxBoost()API name:max_boost -
minScore
@Nullable public final java.lang.Double 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)
-