lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrzej Bialecki (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2459) FilterIndexReader doesn't work correctly with post-flex SegmentMerger
Date Thu, 13 May 2010 13:30:42 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrzej Bialecki  updated LUCENE-2459:
--------------------------------------

    Attachment: LUCENE-2459.patch

The test passes with this patch. I'm not completely sure it coveres all cases, though.

> FilterIndexReader doesn't work correctly with post-flex SegmentMerger
> ---------------------------------------------------------------------
>
>                 Key: LUCENE-2459
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2459
>             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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message