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

ParallelTermEnum is BROKEN

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1
    • Component/s: core/index
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: