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

15 lines
280 B
Plaintext

[[search-request-version]]
=== Version
Returns a version for each search hit.
[source,js]
--------------------------------------------------
{
"version": true,
"query" : {
"term" : { "user" : "kimchy" }
}
}
--------------------------------------------------