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]
--------------------------------------------------
GET /_search
{
"version": true,
"query" : {
"term" : { "user" : "kimchy" }
}
}
--------------------------------------------------
// CONSOLE