All Implemented Interfaces:
QueryVariant, JsonpSerializable

public class MatchQuery
extends QueryBase
implements QueryVariant
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static MatchQuery of​(java.util.function.Function<MatchQuery.Builder,​ObjectBuilder<MatchQuery>> fn)
    • _queryKind

      public Query.Kind _queryKind()
      Query variant kind.
      Specified by:
      _queryKind in interface QueryVariant
    • field

      public final java.lang.String field()
      Required - The target field
    • analyzer

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

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

      @Deprecated @Nullable public final java.lang.Double cutoffFrequency()
      API name: cutoff_frequency
    • fuzziness

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

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

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

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

      @Nullable public final java.lang.Integer maxExpansions()
      API name: max_expansions
    • minimumShouldMatch

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

      @Nullable public final Operator operator()
      API name: operator
    • prefixLength

      @Nullable public final java.lang.Integer prefixLength()
      API name: prefix_length
    • query

      public final FieldValue query()
      Required - API name: query
    • zeroTermsQuery

      @Nullable public final ZeroTermsQuery zeroTermsQuery()
      API name: zero_terms_query
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
      serializeInternal in class QueryBase
    • setupMatchQueryDeserializer

      protected static void setupMatchQueryDeserializer​(ObjectDeserializer<MatchQuery.Builder> op)