All Implemented Interfaces:
QueryVariant, JsonpSerializable

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

  • Method Details

    • of

      public static FuzzyQuery of​(java.util.function.Function<FuzzyQuery.Builder,​ObjectBuilder<FuzzyQuery>> 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
    • maxExpansions

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

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

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

      @Nullable public final java.lang.Boolean transpositions()
      API name: transpositions
    • fuzziness

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

      public final FieldValue value()
      Required - API name: value
    • serializeInternal

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

      protected static void setupFuzzyQueryDeserializer​(ObjectDeserializer<FuzzyQuery.Builder> op)