i had indexed the data and elasticsearch allocate it a version. Now I had updated the indexes by update API a new version will be allocate to it. Now I want to search data based on version. For eg: my original indexed data is (version=1) :
{
"name":"Lav"
}
after execution of update query (version=2) :
{
"name":"Lav",
"message":"hello elasticsearch"
}
Now I want to perform search operation first in version 1 and then in version 2 . How it can be done