[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to