15 lines
325 B
Plaintext
15 lines
325 B
Plaintext
|
[[search-request-query]]
|
||
|
=== Query
|
||
|
|
||
|
The query element within the search request body allows to define a
|
||
|
query using the <<query-dsl,Query DSL>>.
|
||
|
|
||
|
[source,js]
|
||
|
--------------------------------------------------
|
||
|
{
|
||
|
"query" : {
|
||
|
"term" : { "user" : "kimchy" }
|
||
|
}
|
||
|
}
|
||
|
--------------------------------------------------
|