lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4902) Add a FilterDirectoryReader
Date Fri, 05 Apr 2013 12:18:17 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13623574#comment-13623574
] 

Adrien Grand commented on LUCENE-4902:
--------------------------------------

Maybe getCoreCacheKey and getCombinedCoreAndDeletesKey should not be forwarded? I'm afraid
that some atomic filters might change the content and/or live docs of the leaves, which might
make FieldCache return incorrect results. (But AssertingDirectoryReader could specialize FilterDirectoryReader
to forward those method calls since it only adds assertions.)
                
> Add a FilterDirectoryReader
> ---------------------------
>
>                 Key: LUCENE-4902
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4902
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Minor
>         Attachments: LUCENE-4902.patch
>
>
> A FilterDirectoryReader would allow you to easily wrap all subreaders of a DirectoryReader
with FilterAtomicReaders.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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


Mime
View raw message