11 lines
356 B
Plaintext
11 lines
356 B
Plaintext
|
[[java-query-dsl-simple-query-string-query]]
|
||
|
==== Simple Query String Query
|
||
|
|
||
|
See {ref}/query-dsl-simple-query-string-query.html[Simple Query String Query]
|
||
|
|
||
|
[source,java]
|
||
|
--------------------------------------------------
|
||
|
QueryBuilder qb = simpleQueryStringQuery("+kimchy -elasticsearch"); <1>
|
||
|
--------------------------------------------------
|
||
|
<1> text
|