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