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

Improve CachingWrapperFilter to optionally also cache acceptDocs, if identical to liveDocs

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • core/search
    • None
    • New

    Description

      Spinoff from LUCENE-1536: This issue removed the different cache modes completely and always applies the acceptDocs using BitsFilteredDocIdSet.wrap(), the cache only contains raw DocIdSet without any deletions/acceptDocs. For IndexReaders that are seldom reopened, this might not be as performant as it could be. If the acceptDocs==IR.liveDocs, those DocIdSet could also be cached with liveDocs applied.

      Attachments

        1. LUCENE-3531.patch
          13 kB
          Michael McCandless
        2. LUCENE-3531-identityFix.patch
          16 kB
          Uwe Schindler
        3. LUCENE-3531-identityFix.patch
          16 kB
          Uwe Schindler
        4. LUCENE-3531-identityFix.patch
          14 kB
          Uwe Schindler
        5. LUCENE-3531-identityFix.patch
          10 kB
          Uwe Schindler
        6. LUCENE-3531-identityFix.patch
          3 kB
          Uwe Schindler
        7. LUCENE-3531-v2.patch
          20 kB
          Uwe Schindler
        8. LUCENE-3531-v2.patch
          18 kB
          Uwe Schindler

        Activity

          People

            uschindler Uwe Schindler
            uschindler Uwe Schindler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: