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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4.1, 2.9
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: