Option to Shrink based on size of index shards

Does the Shrink action in Index Management (Policies - OpenSearch documentation ) have an option to transition based on size of the shards, i.e. shrink the index when the shard sizes go below a limit?

I think that would be a great idea for a feature but could be hard to implement. The issue is shards would all start below that threshold. It would have to be something like after x days then shrink if avg shard size below xGB I think. I’d add that as a feature request:

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