[ 
https://issues.apache.org/jira/browse/SOLR-1513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766864#action_12766864
 ] 

Noble Paul edited comment on SOLR-1513 at 10/17/09 2:08 AM:
------------------------------------------------------------

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

Then  we 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.


      was (Author: noble.paul):
    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: 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.

Reply via email to