Is there any way to retrieve older version of same document in elasticsearch? Suppose I've indexed 1 document in ES:
put class/student/1
{
"marks":95
}
Later point of time I want to update it to:
put class/student/1
{
"marks":96
}
As soon as I index the updated marks, I see '_version' getting updated as 2. Is there any way to query ES and get _version=1 document?