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