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