lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2459) FilterIndexReader doesn't work correctly with post-flex SegmentMerger
Date Thu, 13 May 2010 16:17:42 GMT


Michael McCandless commented on LUCENE-2459:

Thanks Andrzej -- this is indeed a bug.

Your fix (using flex API on pre-flex API emulation) is good for now, so I think we can commit
to trunk.  But, we are going to remove the pre-flex APIs (and make the flex APIs abstract)
soonish, at which point all FilterIndexReader impls for trunk will have to cutover to flex.

I'll commit shortly.

> FilterIndexReader doesn't work correctly with post-flex SegmentMerger
> ---------------------------------------------------------------------
>                 Key: LUCENE-2459
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Andrzej Bialecki 
>         Attachments: FIRTest.patch, LUCENE-2459.patch
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message