What happens to existing segments when you reduce segment size?

Will reducing segment size (by index.merge.policy.max_merged_segment) split existing segments towards the new max value? If not, is there any way to accomplish this?

It won't.

But if those too-big segments accumulate > 50% deletions then they are eligible for merging and could become smaller by being merged, depending on how much you lowered index.merge_policy.max_merged_segment by.

Mike McCandless

Thanks, just the info I needed.