16 lines
309 B
Plaintext
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
|
||
|
|