lucene-dev mailing list archives

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


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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message