What happens to existing segments when you reduce segment size?

(Jørgen Tonvang) #1

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?

(Michael McCandless) #2

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

(Jørgen Tonvang) #3

Thanks, just the info I needed.

(system) #4