I want to merge similar structure indices in elasticsearch. For example I have 10 indices . 5 are same structure and another 5 are another structure indices. each indices have 100 rows . So I need only two indices with 500-500 rows.
You can may be use the reindex API to reindex old indices into one new index