Class QueryBuilders
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBuilders
Builders for
Query variants.-
Method Summary
Modifier and TypeMethodDescriptionstatic BoolQuery.Builderbool()Creates a builder for theboolQueryvariant.static BoostingQuery.Builderboosting()Creates a builder for theboostingQueryvariant.static CombinedFieldsQuery.BuilderCreates a builder for thecombined_fieldsQueryvariant.static CommonTermsQuery.Buildercommon()Creates a builder for thecommonQueryvariant.static ConstantScoreQuery.BuilderCreates a builder for theconstant_scoreQueryvariant.static DisMaxQuery.BuilderdisMax()Creates a builder for thedis_maxQueryvariant.static DistanceFeatureQuery.BuilderCreates a builder for thedistance_featureQueryvariant.static ExistsQuery.Builderexists()Creates a builder for theexistsQueryvariant.Creates a builder for thefield_masking_spanQueryvariant.static FunctionScoreQuery.BuilderCreates a builder for thefunction_scoreQueryvariant.static FuzzyQuery.Builderfuzzy()Creates a builder for thefuzzyQueryvariant.static GeoBoundingBoxQuery.BuilderCreates a builder for thegeo_bounding_boxQueryvariant.static GeoDistanceQuery.BuilderCreates a builder for thegeo_distanceQueryvariant.static GeoPolygonQuery.BuilderCreates a builder for thegeo_polygonQueryvariant.static GeoShapeQuery.BuildergeoShape()Creates a builder for thegeo_shapeQueryvariant.static HasChildQuery.BuilderhasChild()Creates a builder for thehas_childQueryvariant.static HasParentQuery.BuilderCreates a builder for thehas_parentQueryvariant.static HybridQuery.Builderhybrid()Creates a builder for thehybridQueryvariant.static IdsQuery.Builderids()Creates a builder for theidsQueryvariant.static IntervalsQuery.BuilderCreates a builder for theintervalsQueryvariant.static KnnQuery.Builderknn()Creates a builder for theknnQueryvariant.static MatchQuery.Buildermatch()Creates a builder for thematchQueryvariant.static MatchAllQuery.BuildermatchAll()Creates a builder for thematch_allQueryvariant.static MatchBoolPrefixQuery.BuilderCreates a builder for thematch_bool_prefixQueryvariant.static MatchNoneQuery.BuilderCreates a builder for thematch_noneQueryvariant.static MatchPhraseQuery.BuilderCreates a builder for thematch_phraseQueryvariant.Creates a builder for thematch_phrase_prefixQueryvariant.static MoreLikeThisQuery.BuilderCreates a builder for themore_like_thisQueryvariant.static MultiMatchQuery.BuilderCreates a builder for themulti_matchQueryvariant.static NestedQuery.Buildernested()Creates a builder for thenestedQueryvariant.static NeuralQuery.Builderneural()Creates a builder for theneuralQueryvariant.static ParentIdQuery.BuilderparentId()Creates a builder for theparent_idQueryvariant.static PercolateQuery.BuilderCreates a builder for thepercolateQueryvariant.static PinnedQuery.Builderpinned()Creates a builder for thepinnedQueryvariant.static PrefixQuery.Builderprefix()Creates a builder for theprefixQueryvariant.static QueryStringQuery.BuilderCreates a builder for thequery_stringQueryvariant.static RangeQuery.Builderrange()Creates a builder for therangeQueryvariant.static RankFeatureQuery.BuilderCreates a builder for therank_featureQueryvariant.static RegexpQuery.Builderregexp()Creates a builder for theregexpQueryvariant.static ScriptQuery.Builderscript()Creates a builder for thescriptQueryvariant.static ScriptScoreQuery.BuilderCreates a builder for thescript_scoreQueryvariant.Creates a builder for thesimple_query_stringQueryvariant.static SpanContainingQuery.BuilderCreates a builder for thespan_containingQueryvariant.static SpanFirstQuery.BuilderCreates a builder for thespan_firstQueryvariant.static SpanMultiTermQuery.BuilderCreates a builder for thespan_multiQueryvariant.static SpanNearQuery.BuilderspanNear()Creates a builder for thespan_nearQueryvariant.static SpanNotQuery.BuilderspanNot()Creates a builder for thespan_notQueryvariant.static SpanOrQuery.BuilderspanOr()Creates a builder for thespan_orQueryvariant.static SpanTermQuery.BuilderspanTerm()Creates a builder for thespan_termQueryvariant.static SpanWithinQuery.BuilderCreates a builder for thespan_withinQueryvariant.static TermQuery.Builderterm()Creates a builder for thetermQueryvariant.static TermsQuery.Builderterms()Creates a builder for thetermsQueryvariant.static TermsSetQuery.BuildertermsSet()Creates a builder for theterms_setQueryvariant.static TypeQuery.Buildertype()Creates a builder for thetypeQueryvariant.static WildcardQuery.Builderwildcard()Creates a builder for thewildcardQueryvariant.static WrapperQuery.Builderwrapper()Creates a builder for thewrapperQueryvariant.static XyShapeQuery.BuilderxyShape()Creates a builder for thexy_shapeQueryvariant.
-
Method Details
-
bool
Creates a builder for theboolQueryvariant. -
boosting
Creates a builder for theboostingQueryvariant. -
combinedFields
Creates a builder for thecombined_fieldsQueryvariant. -
common
Creates a builder for thecommonQueryvariant. -
constantScore
Creates a builder for theconstant_scoreQueryvariant. -
disMax
Creates a builder for thedis_maxQueryvariant. -
distanceFeature
Creates a builder for thedistance_featureQueryvariant. -
exists
Creates a builder for theexistsQueryvariant. -
fieldMaskingSpan
Creates a builder for thefield_masking_spanQueryvariant. -
functionScore
Creates a builder for thefunction_scoreQueryvariant. -
fuzzy
Creates a builder for thefuzzyQueryvariant. -
geoBoundingBox
Creates a builder for thegeo_bounding_boxQueryvariant. -
geoDistance
Creates a builder for thegeo_distanceQueryvariant. -
geoPolygon
Creates a builder for thegeo_polygonQueryvariant. -
geoShape
Creates a builder for thegeo_shapeQueryvariant. -
hasChild
Creates a builder for thehas_childQueryvariant. -
hasParent
Creates a builder for thehas_parentQueryvariant. -
hybrid
Creates a builder for thehybridQueryvariant. -
ids
Creates a builder for theidsQueryvariant. -
intervals
Creates a builder for theintervalsQueryvariant. -
knn
Creates a builder for theknnQueryvariant. -
match
Creates a builder for thematchQueryvariant. -
matchAll
Creates a builder for thematch_allQueryvariant. -
matchBoolPrefix
Creates a builder for thematch_bool_prefixQueryvariant. -
matchNone
Creates a builder for thematch_noneQueryvariant. -
matchPhrase
Creates a builder for thematch_phraseQueryvariant. -
matchPhrasePrefix
Creates a builder for thematch_phrase_prefixQueryvariant. -
moreLikeThis
Creates a builder for themore_like_thisQueryvariant. -
multiMatch
Creates a builder for themulti_matchQueryvariant. -
nested
Creates a builder for thenestedQueryvariant. -
neural
Creates a builder for theneuralQueryvariant. -
parentId
Creates a builder for theparent_idQueryvariant. -
percolate
Creates a builder for thepercolateQueryvariant. -
pinned
Creates a builder for thepinnedQueryvariant. -
prefix
Creates a builder for theprefixQueryvariant. -
queryString
Creates a builder for thequery_stringQueryvariant. -
range
Creates a builder for therangeQueryvariant. -
rankFeature
Creates a builder for therank_featureQueryvariant. -
regexp
Creates a builder for theregexpQueryvariant. -
script
Creates a builder for thescriptQueryvariant. -
scriptScore
Creates a builder for thescript_scoreQueryvariant. -
simpleQueryString
Creates a builder for thesimple_query_stringQueryvariant. -
spanContaining
Creates a builder for thespan_containingQueryvariant. -
spanFirst
Creates a builder for thespan_firstQueryvariant. -
spanMulti
Creates a builder for thespan_multiQueryvariant. -
spanNear
Creates a builder for thespan_nearQueryvariant. -
spanNot
Creates a builder for thespan_notQueryvariant. -
spanOr
Creates a builder for thespan_orQueryvariant. -
spanTerm
Creates a builder for thespan_termQueryvariant. -
spanWithin
Creates a builder for thespan_withinQueryvariant. -
term
Creates a builder for thetermQueryvariant. -
terms
Creates a builder for thetermsQueryvariant. -
termsSet
Creates a builder for theterms_setQueryvariant. -
type
Creates a builder for thetypeQueryvariant. -
wildcard
Creates a builder for thewildcardQueryvariant. -
wrapper
Creates a builder for thewrapperQueryvariant. -
xyShape
Creates a builder for thexy_shapeQueryvariant.
-