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

FilterIndexReader doesn't work correctly with post-flex SegmentMerger

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • None
    • None
    • New

    Description

      IndexWriter.addIndexes(IndexReader...) internally uses SegmentMerger to add data from input index readers. However, SegmentMerger uses the new post-flex API to do this, which bypasses the pre-flex TermEnum/TermPositions API that FilterIndexReader implements. As a result, filtering is not applied.

      Attachments

        1. LUCENE-2459.patch
          2 kB
          Andrzej Bialecki
        2. FIRTest.patch
          0.9 kB
          Andrzej Bialecki

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ab Andrzej Bialecki
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: