I was trying to delete a particular record, but I have accidentally deleted the entire index(rnd_prod). Below is the code I used to delete.
DELETE /rnd_prod/
{
"query": {
"ids": {
"type": "rnd_prod",
"values": [
"KXqye2AtRcCwSei7c_Wx_A"
]
}
}
}
I feel hopefull though because It seems elasticSearch doesnt physically delete the data immediately, until something called merging happens(reference).
Please help.. I donot have any backups/snapshots of this index..