lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] Commented: (LUCENE-2665) Rework FieldCache to be more flexible/general
Date Fri, 24 Sep 2010 10:45:33 GMT


Michael McCandless commented on LUCENE-2665:

bq. perhaps the best option is to add a Cache to the IndexReader itself.


But reopened readers need to be able to share the same Cache... maybe we have a {{Cache doReopen()}}
method, on the Cache?  This way a given Cache impl could do something custom like evict certain
entries that are volatile wrt reopen?  (Though, I think we should try hard to keep del docs
dependence out of cache entries... ie it's still the caller's job to fold in deleted docs).

> Rework FieldCache to be more flexible/general
> ---------------------------------------------
>                 Key: LUCENE-2665
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Ryan McKinley
>         Attachments: LUCENE-2665-FieldCacheOverhaul.patch
> The existing FieldCache implementation is very rigid and does not allow much flexibility.
 In trying to implement simple features, it points to much larger structural problems.
> This patch aims to take a fresh approach to how we work with the FieldCache.

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:
For additional commands, e-mail:

View raw message