Class QueryStringQuery

java.lang.Object
co.elastic.clients.elasticsearch._types.query_dsl.QueryBase
co.elastic.clients.elasticsearch._types.query_dsl.QueryStringQuery
All Implemented Interfaces:
QueryVariant, JsonpSerializable, UnionVariant

@JsonpDeserializable
public final class QueryStringQuery
extends QueryBase
implements QueryVariant
  • Field Details

  • Constructor Details

  • Method Details

    • _variantType

      public java.lang.String _variantType()
      Query variant type
      Specified by:
      _variantType in interface UnionVariant
    • allowLeadingWildcard

      @Nullable public java.lang.Boolean allowLeadingWildcard()
      API name: allow_leading_wildcard
    • analyzer

      @Nullable public java.lang.String analyzer()
      API name: analyzer
    • analyzeWildcard

      @Nullable public java.lang.Boolean analyzeWildcard()
      API name: analyze_wildcard
    • autoGenerateSynonymsPhraseQuery

      @Nullable public java.lang.Boolean autoGenerateSynonymsPhraseQuery()
      API name: auto_generate_synonyms_phrase_query
    • defaultField

      @Nullable public java.lang.String defaultField()
      API name: default_field
    • defaultOperator

      @Nullable public Operator defaultOperator()
      API name: default_operator
    • enablePositionIncrements

      @Nullable public java.lang.Boolean enablePositionIncrements()
      API name: enable_position_increments
    • escape

      @Nullable public java.lang.Boolean escape()
      API name: escape
    • fields

      @Nullable public java.util.List<java.lang.String> fields()
      API name: fields
    • fuzziness

      @Nullable public java.lang.String fuzziness()
      API name: fuzziness
    • fuzzyMaxExpansions

      @Nullable public java.lang.Integer fuzzyMaxExpansions()
      API name: fuzzy_max_expansions
    • fuzzyPrefixLength

      @Nullable public java.lang.Integer fuzzyPrefixLength()
      API name: fuzzy_prefix_length
    • fuzzyRewrite

      @Nullable public java.lang.String fuzzyRewrite()
      API name: fuzzy_rewrite
    • fuzzyTranspositions

      @Nullable public java.lang.Boolean fuzzyTranspositions()
      API name: fuzzy_transpositions
    • lenient

      @Nullable public java.lang.Boolean lenient()
      API name: lenient
    • maxDeterminizedStates

      @Nullable public java.lang.Integer maxDeterminizedStates()
      API name: max_determinized_states
    • minimumShouldMatch

      @Nullable public java.lang.String minimumShouldMatch()
      API name: minimum_should_match
    • phraseSlop

      @Nullable public java.lang.Double phraseSlop()
      API name: phrase_slop
    • query

      public java.lang.String query()
      Required - API name: query
    • quoteAnalyzer

      @Nullable public java.lang.String quoteAnalyzer()
      API name: quote_analyzer
    • quoteFieldSuffix

      @Nullable public java.lang.String quoteFieldSuffix()
      API name: quote_field_suffix
    • rewrite

      @Nullable public java.lang.String rewrite()
      API name: rewrite
    • tieBreaker

      @Nullable public java.lang.Double tieBreaker()
      API name: tie_breaker
    • timeZone

      @Nullable public java.lang.String timeZone()
      API name: time_zone
    • type

      @Nullable public TextQueryType type()
      API name: type
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class QueryBase
    • setupQueryStringQueryDeserializer

      protected static void setupQueryStringQueryDeserializer​(DelegatingDeserializer<QueryStringQuery.Builder> op)