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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.9
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: