[
https://issues.apache.org/jira/browse/LUCENE-2468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868659#action_12868659
]
Shay Banon commented on LUCENE-2468:
------------------------------------
I think that the solution suggested, to use the FieldCacheKey is not good
enough, sadly. I am attaching a simpel test that shows that this does not work
for cases when a query is passed to a searcher, without a filter, but that
query, is, for example, a ConstantScoreQuery. I have simply taken the
CachingWrapperFiler and changed it to use the getFieldCacheKey instead of using
the IndexReader.
This is problematic, since a filter can be used somewhere in the query tree,
and wrapped for caching. I am running against 3.0.1.
> reopen on NRT reader should share readers w/ unchanged segments
> ---------------------------------------------------------------
>
> Key: LUCENE-2468
> URL: https://issues.apache.org/jira/browse/LUCENE-2468
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Yonik Seeley
> Assignee: Michael McCandless
> Attachments: LUCENE-2468.patch
>
>
> A repoen on an NRT reader doesn't seem to share readers for those segments
> that are unchanged.
> http://search.lucidimagination.com/search/document/9f0335d480d2e637/nrt_and_caching_based_on_indexreader
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]