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

CachingWrapperFilter crashes if you call both bits() and getDocIdSet()

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.4.1, 2.9
    • None
    • None
    • New, Patch Available

    Description

      CachingWrapperFilter uses only a single cache, so calling bits() after calling getDocIdSet() will result in a type error. Additionally, more code than is necessary is wrapped in the @synchronized blocks.

      Attachments

        1. caching-wrapper-filter.diff
          2 kB
          Matt Jones

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: