Adding Data into index from backup index while both index has same name


(Sumit Guptaa) #1

hi all,

i have an index back up which has 10 GB data and i have an index which have 20 GB data both the index has same name and we want to add these back up into my index can anybody tell me how we can implemented this in elastic search.

I am using ElasticSearch 0.18.7.

Regards,
Sumit Gupta


(Drew Raines) #2

Sumit Guptaa wrote:

i have an index back up which has 10 GB data and i have an index
which have 20 GB data both the index has same name and we want to
add these back up into my index can anybody tell me how we can
implemented this in elastic search.

I am using ElasticSearch 0.18.7.

Are you trying to merge them together somehow? You could write some
Lucene code to manage it directly with the raw indices but ES doesn't
support this.

And even if you did merge them together, you won't be able to get ES
to recognize the new index. Best to just reindex into a 0.19.8
cluster where you'll be able to back-up the files on disk and
revivify them later (that feature was added during that version).

-Drew


(system) #3