# Recover accidentally deleted index without snapshot

**URL:** <https://discuss.elastic.co/t/recover-accidentally-deleted-index-without-snapshot/47194>\
**Category:** Elasticsearch\
**Created:** [April 13, 2016, 6:38am UTC](https://discuss.elastic.co/t/recover-accidentally-deleted-index-without-snapshot/47194 "2016-04-13T06:38:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauljeba](https://avatars.discourse-cdn.com/v4/letter/p/f0a364/32.png) [@pauljeba](https://discuss.elastic.co/u/pauljeba)\
**Post date:** [April 13, 2016, 6:38am UTC](https://discuss.elastic.co/t/recover-accidentally-deleted-index-without-snapshot/47194/1 "2016-04-13T06:38:58Z")

</div>

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](https://www.elastic.co/blog/lucenes-handling-of-deleted-documents)).

Please help.. I donot have any backups/snapshots of this index..

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 13, 2016, 6:52am UTC](https://discuss.elastic.co/t/recover-accidentally-deleted-index-without-snapshot/47194/2 "2016-04-13T06:52:42Z")

</div>

You're out of luck here unfortunately.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:59pm UTC](https://discuss.elastic.co/t/recover-accidentally-deleted-index-without-snapshot/47194/3 "2017-07-05T22:59:43Z")

</div>


