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

ParallelTermEnum is BROKEN

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.1
    • core/index
    • None

    Description

      ParallelTermEnum.next() fails to advance properly to new fields. This is a serious bug.

      Christian Kohlschuetter diagnosed this as the root problem underlying LUCENE-398 and posted a first patch there.

      I've addressed a couple issues in the patch (close skipped field TermEnum's, generate field iterator only once, integrated Christian's test case as a Lucene test) and packaged in all the revised patch here.

      All Lucene tests pass, and I've further tested in this in my app, which makes extensive use of ParallelReader.

      Attachments

        1. ParallelTermEnum.patch
          8 kB
          Chuck Williams

        Activity

          People

            yseeley@gmail.com Yonik Seeley
            manawiz Chuck Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: