Proper index routing during Shrink in ES 5.5


I need to run the Shrink API on multiple indices having the default of 5 shards. Shrink will decrease the number of shard from 5 to 1. However, as a prerequisite to the Shrink API, a "index.routing.allocation.require._name" is needed to be set. How would I know which node is the best to route the shrunk index to?

Should the shrunk indices be spread across the nodes as equal as possible? There are 4 data nodes. Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.