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

17 lines
309 B
Plaintext

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