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

When using QueryWrapperFilter with CachingWrapperFilter, QueryWrapperFilter returns a DocIdSet that creates a Scorer, which gets cached rather than a bit set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      there is a large performance cost to this.

      The old impl for this type of thing, QueryFilter, recommends :

      @deprecated use a CachingWrapperFilter with QueryWrapperFilter

      The deprecated QueryFilter itself also suffers from the problem because its now implemented using a CachingWrapperFilter and QueryWrapperFilter.

      see http://search.lucidimagination.com/search/document/7f54715f14b8b7a/lucene_2_9_0rc4_slower_than_2_4_1

        Attachments

        1. lucene_29_newapi_patched.png
          151 kB
          Thomas Becker
        2. LUCENE-1911.patch
          18 kB
          Uwe Schindler
        3. LUCENE-1911.patch
          18 kB
          Uwe Schindler
        4. LUCENE-1911.patch
          12 kB
          Uwe Schindler
        5. LUCENE-1911.patch
          10 kB
          Uwe Schindler
        6. LUCENE-1911.patch
          3 kB
          Uwe Schindler

          Activity

            People

            • Assignee:
              thetaphi Uwe Schindler
              Reporter:
              markrmiller@gmail.com Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: