Will delete holds last forever even new documents keep in?

(Makeyang) #1

since segments won't be merged when they achieve certain size.
so if I delete documents in those segments, so it will be last forever, even new documents keep in?

(Michael McCandless) #2

Those "too large to be merged" segments will become eligible for merging once >= 50% of their documents are deleted.

Mike McCandless

(Makeyang) #3

is any place to config this 50% or is it just hard code in lucene?

(Michael McCandless) #4

It's hard coded.

Mike McCandless

(system) #5