Class QueryBase
java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
BoolQuery,BoostingQuery,CombinedFieldsQuery,CommonTermsQuery,ConstantScoreQuery,DisMaxQuery,DistanceFeatureQueryBase,ExistsQuery,FunctionScoreQuery,FuzzyQuery,GeoBoundingBoxQuery,GeoDistanceQuery,GeoPolygonQuery,GeoShapeQuery,HasChildQuery,HasParentQuery,IdsQuery,IntervalsQuery,KnnQuery,MatchAllQuery,MatchBoolPrefixQuery,MatchNoneQuery,MatchPhrasePrefixQuery,MatchPhraseQuery,MatchQuery,MoreLikeThisQuery,MultiMatchQuery,NestedQuery,ParentIdQuery,PercolateQuery,PinnedQuery,PrefixQuery,QueryStringQuery,RangeQueryBase,RankFeatureQuery,RegexpQuery,RuleQuery,ScriptQuery,ScriptScoreQuery,SemanticQuery,ShapeQuery,SimpleQueryStringQuery,SpanContainingQuery,SpanFieldMaskingQuery,SpanFirstQuery,SpanMultiTermQuery,SpanNearQuery,SpanNotQuery,SpanOrQuery,SpanTermQuery,SpanWithinQuery,SparseVectorQuery,TermQuery,TermsQuery,TermsSetQuery,TextExpansionQuery,TypeQuery,WeightedTokensQuery,WildcardQuery,WrapperQuery
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Floatboost()Floating point number used to decrease or increase the relevance scores of the query.final StringAPI name:_namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends QueryBase.AbstractBuilder<BuilderT>>
voidsetupQueryBaseDeserializer(ObjectDeserializer<BuilderT> op) toString()
-
Constructor Details
-
QueryBase
-
-
Method Details
-
boost
Floating point number used to decrease or increase the relevance scores of the query. Boost values are relative to the default value of 1.0. A boost value between 0 and 1.0 decreases the relevance score. A value greater than 1.0 increases the relevance score.API name:
boost -
queryName
API name:_name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupQueryBaseDeserializer
protected static <BuilderT extends QueryBase.AbstractBuilder<BuilderT>> void setupQueryBaseDeserializer(ObjectDeserializer<BuilderT> op)
-