OpenSearch/docs/java-api/query-dsl/fuzzy-query.asciidoc
Luca Cavanna 73cf002293 Un-deprecate fuzzy query (#22088)
When we decided to deprecate and remove fuzzy query in #15760, we didn't realize we would take away the possibililty for uses to use a fuzzy query as part of a span query, which is not possible using match query. This means we have to go back and un-deprecate fuzzy query, which will not be removed.

Closes #15760
2016-12-12 12:09:16 +01:00

16 lines
309 B
Plaintext

[[java-query-dsl-fuzzy-query]]
==== Fuzzy Query
See {ref}/query-dsl-fuzzy-query.html[Fuzzy Query]
[source,java]
--------------------------------------------------
QueryBuilder qb = fuzzyQuery(
"name", <1>
"kimzhy" <2>
);
--------------------------------------------------
<1> field
<2> text