2019-07-17 08:49:22 -04:00
|
|
|
[[request-body-search-version]]
|
2019-04-09 10:35:25 -04:00
|
|
|
=== Version
|
|
|
|
|
|
|
|
Returns a version for each search hit.
|
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
|
|
|
GET /_search
|
|
|
|
{
|
|
|
|
"version": true,
|
|
|
|
"query" : {
|
|
|
|
"term" : { "user" : "kimchy" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--------------------------------------------------
|
|
|
|
// CONSOLE
|