Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-2870

if a segment is 100% deletions, we should just drop it

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 3.1, 4.0-ALPHA
    • core/index
    • None
    • New

    Description

      I think in IndexWriter if the delCount ever == maxDoc() for a segment we should just drop it?

      We don't, today, and so we force it to be merged, which is silly.

      I won't have time for this any time soon so if someone wants to take it, please do!! Should be simple.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: