You might be hitting a rounding error. When this happens, how many
deleted documents are there in the remaining segments? 1?
The calculation for whether to merge the segment is:
double pctDeletes = 100. * ((double) deleted_docs_in_segment /
(double) doc_count_in_segment_including_deleted_docs
if
Hi all,
We build a FST on the terms of our index by iterating the terms of the
readers for our fields, like this:
for (final LeafReaderContext ctx : leaves) {
final LeafReader leafReader = ctx.reader();
for (final