lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Paul (JIRA)" <>
Subject [jira] Commented: (SOLR-1513) Use Google Collections in ConcurrentLRUCache
Date Sat, 17 Oct 2009 09:00:31 GMT


Noble Paul commented on SOLR-1513:

bq.Google Collections is already checked in as a dependency of Carrot clustering.

in that e need to move it to core.

Jason . We do not need to remove the original option. We can probably add an extra parameter
say softRef="true" or something. That way , we are not screwing up anything and perf benefits
can be studied separately.

> Use Google Collections in ConcurrentLRUCache
> --------------------------------------------
>                 Key: SOLR-1513
>                 URL:
>             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?

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message