15 lines
362 B
Plaintext
15 lines
362 B
Plaintext
[[java-query-dsl-multi-match-query]]
|
|
==== Multi Match Query
|
|
|
|
See {ref}/query-dsl-multi-match-query.html[Multi Match Query]
|
|
|
|
[source,java]
|
|
--------------------------------------------------
|
|
QueryBuilder qb = multiMatchQuery(
|
|
"kimchy elasticsearch", <1>
|
|
"user", "message" <2>
|
|
);
|
|
--------------------------------------------------
|
|
<1> text
|
|
<2> fields
|