[
https://issues.apache.org/jira/browse/LUCENE-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated LUCENE-3823:
----------------------------------
Attachment: LUCENE-3823.patch
New patch that fixes the insanity and also removes the hack in QueryUtils added
y Robert.
The problem causing insanity was the wrapping by MultiReader which is detected
by FC checker as insanity if it is wrapped by Slow and the checker can walk
down to a SegmentReader [e.g.,
SlowMultiReaderWrapper(MultiReader(StandardDirectoryReader()))]. The trick was
to make the returned fake reader have an own cache key, so FC checker does not
recognize the "insanity".
This patch also fixes the getTermVectors method in the FieldFilterAtomicReader
to return null, if none of the remaining fields have TVs.
> Add a field-filtering FilterAtomicReader to 4.0 so ParallelReaders can be
> better tested (in LTC.maybeWrapReader)
> ----------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-3823
> URL: https://issues.apache.org/jira/browse/LUCENE-3823
> Project: Lucene - Java
> Issue Type: Improvement
> Components: core/index, general/test
> Affects Versions: 4.0
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: 4.0
>
> Attachments: LUCENE-3823.patch, LUCENE-3823.patch
>
>
> In addition to the filters in contrib/misc for horizontally filtering (by
> doc-id) AtomicReader, it would be good to have the same vertically (by
> field). For now I will add this implementation to test-framework, as it
> cannot stay in contrib/misc, because LTC will need it for maybeWrapReader.
> LTC will use this FilterAtomicReader to construct a ParallelAtomicReader out
> of two (or maybe more) FieldFilterAtomicReaders.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]