I know how copy an index in one server with Reindex API but now there are two servers (Elastic A and Elastic B) on two separated hosts like this:
Elastic A
|_ index a1
|_ index a2
and
Elastic B
|_ index b1
|_ index b2
I need to copy a1 to Elastic B and finally it's like this:
Elastic B
|_ index b1
|_ index b2
|_ index a1
How can I do this? I'm waiting for any suggestion. Thanks, Mohammad.