Class QueryBuilders
- java.lang.Object
-
- org.opensearch.client.opensearch._types.query_dsl.QueryBuilders
-
public class QueryBuilders extends java.lang.ObjectBuilders forQueryvariants.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BoolQuery.Builderbool()Creates a builder for theboolQueryvariant.static BoostingQuery.Builderboosting()Creates a builder for theboostingQueryvariant.static CombinedFieldsQuery.BuildercombinedFields()Creates a builder for thecombined_fieldsQueryvariant.static CommonTermsQuery.Buildercommon()Creates a builder for thecommonQueryvariant.static ConstantScoreQuery.BuilderconstantScore()Creates a builder for theconstant_scoreQueryvariant.static DisMaxQuery.BuilderdisMax()Creates a builder for thedis_maxQueryvariant.static DistanceFeatureQuery.BuilderdistanceFeature()Creates a builder for thedistance_featureQueryvariant.static ExistsQuery.Builderexists()Creates a builder for theexistsQueryvariant.static SpanFieldMaskingQuery.BuilderfieldMaskingSpan()Creates a builder for thefield_masking_spanQueryvariant.static FunctionScoreQuery.BuilderfunctionScore()Creates a builder for thefunction_scoreQueryvariant.static FuzzyQuery.Builderfuzzy()Creates a builder for thefuzzyQueryvariant.static GeoBoundingBoxQuery.BuildergeoBoundingBox()Creates a builder for thegeo_bounding_boxQueryvariant.static GeoDistanceQuery.BuildergeoDistance()Creates a builder for thegeo_distanceQueryvariant.static GeoPolygonQuery.BuildergeoPolygon()Creates 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.BuilderhasParent()Creates a builder for thehas_parentQueryvariant.static IdsQuery.Builderids()Creates a builder for theidsQueryvariant.static IntervalsQuery.Builderintervals()Creates 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.BuildermatchBoolPrefix()Creates a builder for thematch_bool_prefixQueryvariant.static MatchNoneQuery.BuildermatchNone()Creates a builder for thematch_noneQueryvariant.static MatchPhraseQuery.BuildermatchPhrase()Creates a builder for thematch_phraseQueryvariant.static MatchPhrasePrefixQuery.BuildermatchPhrasePrefix()Creates a builder for thematch_phrase_prefixQueryvariant.static MoreLikeThisQuery.BuildermoreLikeThis()Creates a builder for themore_like_thisQueryvariant.static MultiMatchQuery.BuildermultiMatch()Creates a builder for themulti_matchQueryvariant.static NestedQuery.Buildernested()Creates a builder for thenestedQueryvariant.static NeuralQuery.Builderneural()Creates a builder for thenestedQueryvariant.static ParentIdQuery.BuilderparentId()Creates a builder for theparent_idQueryvariant.static PercolateQuery.Builderpercolate()Creates a builder for thepercolateQueryvariant.static PinnedQuery.Builderpinned()Creates a builder for thepinnedQueryvariant.static PrefixQuery.Builderprefix()Creates a builder for theprefixQueryvariant.static QueryStringQuery.BuilderqueryString()Creates a builder for thequery_stringQueryvariant.static RangeQuery.Builderrange()Creates a builder for therangeQueryvariant.static RankFeatureQuery.BuilderrankFeature()Creates a builder for therank_featureQueryvariant.static RegexpQuery.Builderregexp()Creates a builder for theregexpQueryvariant.static ScriptQuery.Builderscript()Creates a builder for thescriptQueryvariant.static ScriptScoreQuery.BuilderscriptScore()Creates a builder for thescript_scoreQueryvariant.static ShapeQuery.Buildershape()Creates a builder for theshapeQueryvariant.static SimpleQueryStringQuery.BuildersimpleQueryString()Creates a builder for thesimple_query_stringQueryvariant.static SpanContainingQuery.BuilderspanContaining()Creates a builder for thespan_containingQueryvariant.static SpanFirstQuery.BuilderspanFirst()Creates a builder for thespan_firstQueryvariant.static SpanMultiTermQuery.BuilderspanMulti()Creates 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.BuilderspanWithin()Creates 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.
-
-
-
Method Detail
-
bool
public static BoolQuery.Builder bool()
Creates a builder for theboolQueryvariant.
-
boosting
public static BoostingQuery.Builder boosting()
Creates a builder for theboostingQueryvariant.
-
common
public static CommonTermsQuery.Builder common()
Creates a builder for thecommonQueryvariant.
-
combinedFields
public static CombinedFieldsQuery.Builder combinedFields()
Creates a builder for thecombined_fieldsQueryvariant.
-
constantScore
public static ConstantScoreQuery.Builder constantScore()
Creates a builder for theconstant_scoreQueryvariant.
-
disMax
public static DisMaxQuery.Builder disMax()
Creates a builder for thedis_maxQueryvariant.
-
distanceFeature
public static DistanceFeatureQuery.Builder distanceFeature()
Creates a builder for thedistance_featureQueryvariant.
-
exists
public static ExistsQuery.Builder exists()
Creates a builder for theexistsQueryvariant.
-
functionScore
public static FunctionScoreQuery.Builder functionScore()
Creates a builder for thefunction_scoreQueryvariant.
-
fuzzy
public static FuzzyQuery.Builder fuzzy()
Creates a builder for thefuzzyQueryvariant.
-
geoBoundingBox
public static GeoBoundingBoxQuery.Builder geoBoundingBox()
Creates a builder for thegeo_bounding_boxQueryvariant.
-
geoDistance
public static GeoDistanceQuery.Builder geoDistance()
Creates a builder for thegeo_distanceQueryvariant.
-
geoPolygon
public static GeoPolygonQuery.Builder geoPolygon()
Creates a builder for thegeo_polygonQueryvariant.
-
geoShape
public static GeoShapeQuery.Builder geoShape()
Creates a builder for thegeo_shapeQueryvariant.
-
hasChild
public static HasChildQuery.Builder hasChild()
Creates a builder for thehas_childQueryvariant.
-
hasParent
public static HasParentQuery.Builder hasParent()
Creates a builder for thehas_parentQueryvariant.
-
ids
public static IdsQuery.Builder ids()
Creates a builder for theidsQueryvariant.
-
intervals
public static IntervalsQuery.Builder intervals()
Creates a builder for theintervalsQueryvariant.
-
knn
public static KnnQuery.Builder knn()
Creates a builder for theknnQueryvariant.
-
match
public static MatchQuery.Builder match()
Creates a builder for thematchQueryvariant.
-
matchAll
public static MatchAllQuery.Builder matchAll()
Creates a builder for thematch_allQueryvariant.
-
matchBoolPrefix
public static MatchBoolPrefixQuery.Builder matchBoolPrefix()
Creates a builder for thematch_bool_prefixQueryvariant.
-
matchNone
public static MatchNoneQuery.Builder matchNone()
Creates a builder for thematch_noneQueryvariant.
-
matchPhrase
public static MatchPhraseQuery.Builder matchPhrase()
Creates a builder for thematch_phraseQueryvariant.
-
matchPhrasePrefix
public static MatchPhrasePrefixQuery.Builder matchPhrasePrefix()
Creates a builder for thematch_phrase_prefixQueryvariant.
-
moreLikeThis
public static MoreLikeThisQuery.Builder moreLikeThis()
Creates a builder for themore_like_thisQueryvariant.
-
multiMatch
public static MultiMatchQuery.Builder multiMatch()
Creates a builder for themulti_matchQueryvariant.
-
nested
public static NestedQuery.Builder nested()
Creates a builder for thenestedQueryvariant.
-
neural
public static NeuralQuery.Builder neural()
Creates a builder for thenestedQueryvariant.
-
parentId
public static ParentIdQuery.Builder parentId()
Creates a builder for theparent_idQueryvariant.
-
percolate
public static PercolateQuery.Builder percolate()
Creates a builder for thepercolateQueryvariant.
-
pinned
public static PinnedQuery.Builder pinned()
Creates a builder for thepinnedQueryvariant.
-
prefix
public static PrefixQuery.Builder prefix()
Creates a builder for theprefixQueryvariant.
-
queryString
public static QueryStringQuery.Builder queryString()
Creates a builder for thequery_stringQueryvariant.
-
range
public static RangeQuery.Builder range()
Creates a builder for therangeQueryvariant.
-
rankFeature
public static RankFeatureQuery.Builder rankFeature()
Creates a builder for therank_featureQueryvariant.
-
regexp
public static RegexpQuery.Builder regexp()
Creates a builder for theregexpQueryvariant.
-
script
public static ScriptQuery.Builder script()
Creates a builder for thescriptQueryvariant.
-
scriptScore
public static ScriptScoreQuery.Builder scriptScore()
Creates a builder for thescript_scoreQueryvariant.
-
shape
public static ShapeQuery.Builder shape()
Creates a builder for theshapeQueryvariant.
-
simpleQueryString
public static SimpleQueryStringQuery.Builder simpleQueryString()
Creates a builder for thesimple_query_stringQueryvariant.
-
spanContaining
public static SpanContainingQuery.Builder spanContaining()
Creates a builder for thespan_containingQueryvariant.
-
fieldMaskingSpan
public static SpanFieldMaskingQuery.Builder fieldMaskingSpan()
Creates a builder for thefield_masking_spanQueryvariant.
-
spanFirst
public static SpanFirstQuery.Builder spanFirst()
Creates a builder for thespan_firstQueryvariant.
-
spanMulti
public static SpanMultiTermQuery.Builder spanMulti()
Creates a builder for thespan_multiQueryvariant.
-
spanNear
public static SpanNearQuery.Builder spanNear()
Creates a builder for thespan_nearQueryvariant.
-
spanNot
public static SpanNotQuery.Builder spanNot()
Creates a builder for thespan_notQueryvariant.
-
spanOr
public static SpanOrQuery.Builder spanOr()
Creates a builder for thespan_orQueryvariant.
-
spanTerm
public static SpanTermQuery.Builder spanTerm()
Creates a builder for thespan_termQueryvariant.
-
spanWithin
public static SpanWithinQuery.Builder spanWithin()
Creates a builder for thespan_withinQueryvariant.
-
term
public static TermQuery.Builder term()
Creates a builder for thetermQueryvariant.
-
terms
public static TermsQuery.Builder terms()
Creates a builder for thetermsQueryvariant.
-
termsSet
public static TermsSetQuery.Builder termsSet()
Creates a builder for theterms_setQueryvariant.
-
wildcard
public static WildcardQuery.Builder wildcard()
Creates a builder for thewildcardQueryvariant.
-
wrapper
public static WrapperQuery.Builder wrapper()
Creates a builder for thewrapperQueryvariant.
-
type
public static TypeQuery.Builder type()
Creates a builder for thetypeQueryvariant.
-
-