mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
14 lines
325 B
Text
14 lines
325 B
Text
[[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" }
|
|
}
|
|
}
|
|
--------------------------------------------------
|