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

16 lines
304 B
Plaintext

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