16 lines
335 B
Plaintext
16 lines
335 B
Plaintext
|
[[java-query-dsl-match-query]]
|
||
|
==== Match Query
|
||
|
|
||
|
See {ref}/query-dsl-match-query.html[Match Query]
|
||
|
|
||
|
[source,java]
|
||
|
--------------------------------------------------
|
||
|
QueryBuilder qb = matchQuery(
|
||
|
"name", <1>
|
||
|
"kimchy elasticsearch" <2>
|
||
|
);
|
||
|
--------------------------------------------------
|
||
|
<1> field
|
||
|
<2> text
|
||
|
|