How to join two elastic search indexs


(divyanshu das) #1

I have two elasticsearch servers running on two machines which have X and Y
no of indexes respectively. I need to join both of them, so that my new
machine has X+Y no of index without any loss of data.

Will merging the data/ folder from both the instances do the trick?

--


(Jérôme Gagnon) #2

I would create an Alias and play with replication/allocation to put all in
1 node... then you will still have 2 indices but all of your data will
still be under 1 name on 1 node.

On Tuesday, October 16, 2012 3:11:14 PM UTC-4, divyanshu das wrote:

I have two elasticsearch servers running on two machines which have X and
Y no of indexes respectively. I need to join both of them, so that my new
machine has X+Y no of index without any loss of data.

Will merging the data/ folder from both the instances do the trick?

--


(system) #3