[ https://issues.apache.org/jira/browse/SOLR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Rutherglen updated SOLR-1513: ----------------------------------- Attachment: google-collect-snapshot.jar SOLR-1513.patch Here's a basic implementation, it needs testing for performance and what happens if a value is removed before a key (in which case the map could return null?). There are a number of configurable params so we'll add those as options for solrconfig. > Use Google Collections in ConcurrentLRUCache > -------------------------------------------- > > Key: SOLR-1513 > URL: https://issues.apache.org/jira/browse/SOLR-1513 > Project: Solr > Issue Type: Improvement > Components: search > Affects Versions: 1.4 > Reporter: Jason Rutherglen > Priority: Minor > Fix For: 1.5 > > Attachments: google-collect-snapshot.jar, SOLR-1513.patch > > > ConcurrentHashMap is used in ConcurrentLRUCache. The Google Colletions > concurrent map implementation allows for soft values that are great for > caches that potentially exceed the allocated heap. Though I suppose Solr > caches usually don't use too much RAM? > http://code.google.com/p/google-collections/ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.