I have to migrate from ES5.6.3 to latest ES 7.x There are over 500 indices, 10 flavor of index, high number of index because of rollover ex index1-yyyy.mm and so on. The two options can be -
- scripting - ex bash script connecting to new cluster
read all indexes from a file (this is done separately by connecting to 5.x cluster)
reindex from remote
Question- can index of same flavor be reindexed api in a single command with source and dest index as "index1-*"
- same logic in a java program using high level REST client
Since the available servers to work on is Windows, I am having difficulty setting up bash script, If there is a way to do it in one shot for indexes of same flavor I would like that since it is a one time job.