[
https://issues.apache.org/jira/browse/SOLR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason Rutherglen updated SOLR-1513:
-----------------------------------
Attachment: SOLR-1513.patch
The additional parameters, concurencyLevel, softKeys, softValues, may be passed
as config parameters. There's a sample solrconfig that needs to be included in
the test case. I wasn't sure how TestFastLRUCache is supposed to work.
> 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,
> 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.