When using the _search
API if you want the version number of every record to be returned you need to specify that directly. source
GET /_search
{
"version": true,
"query" : {
"term" : { "user" : "kimchy" }
}
}
Why is this? Is there a performance hit for returning the version with every record?