You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (Updated) (JIRA)" <ji...@apache.org> on 2012/02/26 18:48:48 UTC

[jira] [Updated] (LUCENE-3823) Add a field-filtering FilterAtomicReader to 4.0 so ParallelReaders can be better tested (in LTC.maybeWrapReader)

     [ 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

Patch. Tests mostly pass, there is still some insane FieldCache in some tests (thats unrelated to this change, but can be made appearing more often by remving rarely() from  the maybeWrapReader method. Mostly affected is insane field cache in TestExplanations and QueryUtils that check explanations.

The attached patch simply implement the vertical index splitter in test-framework. If there is interest in this FilterAtomicReader, we can move it e.g. to core.
                
> 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org