Class FuzzyQuery
java.lang.Object
org.opensearch.client.opensearch._types.query_dsl.QueryBase
org.opensearch.client.opensearch._types.query_dsl.FuzzyQuery
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,QueryVariant,ToCopyableBuilder<FuzzyQuery.Builder,FuzzyQuery>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class FuzzyQuery
extends QueryBase
implements QueryVariant, ToCopyableBuilder<FuzzyQuery.Builder,FuzzyQuery>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
QueryBase.AbstractBuilder<BuilderT extends QueryBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FuzzyQuery> Json deserializer forFuzzyQuery -
Method Summary
Modifier and TypeMethodDescriptionQueryvariant kind.static FuzzyQuery.Builderbuilder()booleanfinal Stringfield()Required - The target fieldfinal StringAPI name:fuzzinessinthashCode()final IntegerMaximum number of variations created.static FuzzyQueryfinal IntegerNumber of beginning characters left unchanged when creating expansions.final Stringrewrite()API name:rewriteprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final BooleanIndicates whether edits include transpositions of two adjacent characters (for example,abtoba).final FieldValuevalue()Required - Term you wish to find in the provided field.Methods inherited from class org.opensearch.client.opensearch._types.query_dsl.QueryBase
boost, queryName, serialize, setupQueryBaseDeserializerMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.opensearch._types.query_dsl.QueryVariant
toQueryMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forFuzzyQuery
-
-
Method Details
-
of
-
_queryKind
Queryvariant kind.- Specified by:
_queryKindin interfaceQueryVariant
-
field
Required - The target field -
fuzziness
API name:fuzziness -
maxExpansions
Maximum number of variations created.API name:
max_expansions -
prefixLength
Number of beginning characters left unchanged when creating expansions.API name:
prefix_length -
rewrite
API name:rewrite -
transpositions
Indicates whether edits include transpositions of two adjacent characters (for example,abtoba).API name:
transpositions -
value
Required - Term you wish to find in the provided field.API name:
value -
serializeInternal
- Overrides:
serializeInternalin classQueryBase
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FuzzyQuery.Builder,FuzzyQuery> - Returns:
- a new builder instance.
-
builder
-
setupFuzzyQueryDeserializer
-
hashCode
public int hashCode() -
equals
-