lucene-dev mailing list archives

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

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

Michael McCandless commented on LUCENE-2665:
--------------------------------------------

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

+1

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: https://issues.apache.org/jira/browse/LUCENE-2665
>             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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message