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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 3.1, 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: