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

15 lines
280 B
Plaintext
Raw Normal View History

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