I'm running into a problem. I'm deleting multiple indices using a REST call in sense
But i am still finding some "legacy" files when i check the disk partition where elasticsearch stores its data.
I basically have 3 directories (0, 1 and 2) inside elastic's data directory
The 0 and 1 directories contains the legacy indices while 2 contain the current indices.
Any clue how to properly delete an index AND its corresponding documents ? And why is this happening ? Can I delete (Rm -Rf directories) by hand in order to clean old indices ?
PS : I am using elastic 2.2