How Lucene Merges Segments While You Keep Searching
Follow one delete through a Lucene 10.6.0 segment merge. How TieredMergePolicy picks the inputs, how doc IDs get remapped, how a delete that lands mid-merge still reaches the output, and why disk usage rises before it falls.