You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/07/27 03:49:49 UTC
[jira] [Commented] (SOLR-5080) Ability to Configure Expirable
Caches (use Google Collections - MapMaker/CacheBuilder for SolrCache)
[ https://issues.apache.org/jira/browse/SOLR-5080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13721490#comment-13721490 ]
Erick Erickson commented on SOLR-5080:
--------------------------------------
I don't really understand this. You'll have to outline _what_ cases you're talking about before this gets much traction. Caches are invalidated whenever a new searcher is opened, and since this happens whenever a hard commit (openSearcher=true) or a soft commit happens, I really don't see how this is a problem. And since you can't search anything that hasn't had a searcher opened on it, I don't see the problem.
> Ability to Configure Expirable Caches (use Google Collections - MapMaker/CacheBuilder for SolrCache)
> ----------------------------------------------------------------------------------------------------
>
> Key: SOLR-5080
> URL: https://issues.apache.org/jira/browse/SOLR-5080
> Project: Solr
> Issue Type: New Feature
> Reporter: Kranti Parisa
>
> We should be able to configure the expirable caches, especially for filterCaches. In some cases, the filterCaches are not valid beyond certain time (example 5 minutes).
> Google collections has MapMaker/CacheBuilder which does allow expiration
> http://google-collections.googlecode.com/svn/trunk/javadoc/com/google/common/collect/MapMaker.html
> http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/cache/CacheBuilder.html
> SolrCache, LRUCache etc can be implemented with MapMaker or CacheBuilder
--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org