Deleted indexes reappearing

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/'

Thanks,
Darren

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 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/'

Thanks,
Darren

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

Thanks for the pointer

On Sat, Mar 31, 2012 at 7:08 PM, Shay Banon 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 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/'

Thanks,
Darren

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 wrote:

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

Thanks for the pointer

On Sat, Mar 31, 2012 at 7:08 PM, Shay Banon 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 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/'

Thanks,
Darren