# Deleted indexes reappearing

**URL:** https://discuss.elastic.co/t/deleted-indexes-reappearing/7188
**Category:** Elasticsearch
**Created:** [March 31, 2012, 11:41am UTC](https://discuss.elastic.co/t/deleted-indexes-reappearing/7188 "2012-03-31T11:41:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Darren](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@Darren](https://discuss.elastic.co/u/Darren)
#### Post date: [March 31, 2012, 11:41am UTC](https://discuss.elastic.co/t/deleted-indexes-reappearing/7188/1 "2012-03-31T11:41:59Z")

</div>

Hi Guys,

Playing with elasticsearch at the moment, amazed with just how simple it is  
to get a cluster up and running. It just works (tm)

I've come to try and delete an index but after around 30 mins it appears  
back again. Shouldn't it actually.. delete? I'm trying this against a  
single node so I can't think where it's coming back from.  
Using: curl -XDELETE '[http://localhost:9200/index\_name/](http://localhost:9200/index_name/)'

Thanks,  
Darren

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [March 31, 2012, 6:08pm UTC](https://discuss.elastic.co/t/deleted-indexes-reappearing/7188/2 "2012-03-31T18:08:00Z")

</div>

Is there a chance that you index a document by mistake against that index  
name so it gets created? You can see in the logs why an index gets created.

On Sat, Mar 31, 2012 at 2:41 PM, Darren [darren@darrenwhitlen.com](mailto:darren@darrenwhitlen.com) wrote:

> Hi Guys,
> 
> Playing with elasticsearch at the moment, amazed with just how simple it  
> is to get a cluster up and running. It just works (tm)
> 
> I've come to try and delete an index but after around 30 mins it appears  
> back again. Shouldn't it actually.. delete? I'm trying this against a  
> single node so I can't think where it's coming back from.  
> Using: curl -XDELETE '[http://localhost:9200/index\_name/](http://localhost:9200/index_name/)'
> 
> Thanks,  
> Darren

---

<div class="post-metadata">

### Author: ![Darren](https://avatars.discourse-cdn.com/v4/letter/d/e9a140/32.png) [@Darren](https://discuss.elastic.co/u/Darren)
#### Post date: [March 31, 2012, 8:16pm UTC](https://discuss.elastic.co/t/deleted-indexes-reappearing/7188/3 "2012-03-31T20:16:28Z")

</div>

Checking the logs was probably a good idea.. Turns out I did have a rogue  
script running inserts which is embarrassing 🙂

Thanks for the pointer

On Sat, Mar 31, 2012 at 7:08 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:

> Is there a chance that you index a document by mistake against that index  
> name so it gets created? You can see in the logs why an index gets created.
> 
> On Sat, Mar 31, 2012 at 2:41 PM, Darren [darren@darrenwhitlen.com](mailto:darren@darrenwhitlen.com) wrote:
> 
> > Hi Guys,
> > 
> > Playing with elasticsearch at the moment, amazed with just how simple it  
> > is to get a cluster up and running. It just works (tm)
> > 
> > I've come to try and delete an index but after around 30 mins it appears  
> > back again. Shouldn't it actually.. delete? I'm trying this against a  
> > single node so I can't think where it's coming back from.  
> > Using: curl -XDELETE '[http://localhost:9200/index\_name/](http://localhost:9200/index_name/)'
> > 
> > Thanks,  
> > Darren

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [March 31, 2012, 9:02pm UTC](https://discuss.elastic.co/t/deleted-indexes-reappearing/7188/4 "2012-03-31T21:02:52Z")

</div>

No problem. you can disable automatic index creation if you want, by  
setting: action.auto\_create\_index to false.

On Sat, Mar 31, 2012 at 11:16 PM, Darren [darren@darrenwhitlen.com](mailto:darren@darrenwhitlen.com) wrote:

> Checking the logs was probably a good idea.. Turns out I did have a rogue  
> script running inserts which is embarrassing 🙂
> 
> Thanks for the pointer
> 
> On Sat, Mar 31, 2012 at 7:08 PM, Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com) wrote:
> 
> > Is there a chance that you index a document by mistake against that index  
> > name so it gets created? You can see in the logs why an index gets created.
> > 
> > On Sat, Mar 31, 2012 at 2:41 PM, Darren [darren@darrenwhitlen.com](mailto:darren@darrenwhitlen.com) wrote:
> > 
> > > Hi Guys,
> > > 
> > > Playing with elasticsearch at the moment, amazed with just how simple it  
> > > is to get a cluster up and running. It just works (tm)
> > > 
> > > I've come to try and delete an index but after around 30 mins it appears  
> > > back again. Shouldn't it actually.. delete? I'm trying this against a  
> > > single node so I can't think where it's coming back from.  
> > > Using: curl -XDELETE '[http://localhost:9200/index\_name/](http://localhost:9200/index_name/)'
> > > 
> > > Thanks,  
> > > Darren

---

<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 6, 2017, 3:34am UTC](https://discuss.elastic.co/t/deleted-indexes-reappearing/7188/5 "2017-07-06T03:34:03Z")

</div>


