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

don't try to cache a composite reader's MultiBits deletedDocs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • New

    Description

      MultiFields.getDeletedDocs now builds up a MultiBits instance (so that one can check if a top-level docID is deleted), but it now stuffs it into a private cache on IndexReader.

      This is invalid when the composite reader is read/write, and can result in a MultiReader falsely claiming a doc was not deleted.

      Attachments

        1. LUCENE-2600.patch
          50 kB
          Michael McCandless
        2. LUCENE-2600.patch
          9 kB
          Michael McCandless

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: