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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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
          9 kB
          Michael McCandless
        2. LUCENE-2600.patch
          50 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: