Possible to restrict force merges to single ElasticSearch nodes?

The API for forcemerge operates per index. I’d like to restrict further to only the segments on a single node.

Few different reasons why I'm after this:
(1) As things stand, forcemerge(s) cannot be cancelled. Isolating to a single node allows for more control in case of failure/retry.
(2) Prioritising based on load/resource usage. E.g. in cases of asymmetric distribution of disk usage across the cluster, you'd want to kick off forcemerge in order of disk usage %.

x-post on SO: https://stackoverflow.com/q/57530609/1095091

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