17 lines
309 B
Plaintext
17 lines
309 B
Plaintext
[[request-body-search-version]]
|
|
=== Version
|
|
|
|
Returns a version for each search hit.
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
GET /_search
|
|
{
|
|
"version": true,
|
|
"query" : {
|
|
"term" : { "user" : "kimchy" }
|
|
}
|
|
}
|
|
--------------------------------------------------
|
|
// CONSOLE
|