I have 2 ES-clusters with the same index-structure. I want merge data from cluster1 into cluster2 (same index).
I wrote a small java programm to do this work using Transport Client API and it works for a small amount of data but failed to merge 70GB data. It throws exception "org.elasticsearch.transport.ReceiveTimeoutTransportException:..." after a while which leads to data loss.
Is there a build-in process in ES to do this work - merging data over clusters?