[
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: [email protected]
For additional commands, e-mail: [email protected]