OpenSearch/docs/reference/search/request/version.asciidoc

17 lines
304 B
Plaintext
Raw Normal View History

[[search-request-version]]
=== Version
Returns a version for each search hit.
[source,js]
--------------------------------------------------
2016-05-18 09:32:48 -04:00
GET /_search
{
"version": true,
"query" : {
"term" : { "user" : "kimchy" }
}
}
--------------------------------------------------
2016-05-18 09:32:48 -04:00
// CONSOLE