Elasticsearch index deleted how to recover


(ashu raikvar) #1

Hi,

I am in a fix.I accidently deleted my index using head.I have that index as
rar file which i copy pasted back in ES but the ES is not detecting the
index.please suggest me a solution.

Thanking You
Ashutosh Raikvar
ES lover , cheers


(Drew Raines) #2

ashu raikvar wrote:

I am in a fix.I accidently deleted my index using head.I have that
index as rar file which i copy pasted back in ES but the ES is not
detecting the index.please suggest me a solution.

If the index was created using ES prior to version 0.19.8, which it
sounds like it was, you won't be able to use the files on disk.
You'll have to either reindex from source data or create source data
directly from Lucene.

However, if you are using 0.19.8 and this still happened, then it
might be a bug. Support was added for recognizing an index on disk
and handling just such a case.

-Drew


(system) #3