> -----Original Message-----
> From: Mike Klaas [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 01, 2007 12:36 AM
> To: solr-user@lucene.apache.org
> Subject: Re: facet question
>
> On 31-May-07, at 1:35 PM, Gal Nitzan wrote:
>
> >>>
> >>> However, the cache size brings us to the 2GB limit.
> >>
> >> If the cardinality of many of the tags is low, you can use HashSet-
> >> based filters (the default size at which a HashSet is used is 3000).
> > [Gal Nitzan]
> >
> > I will appreciate a pointer to documentation on HahsSet based filters
> > tahnks...
>
> http://wiki.apache.org/solr/SolrConfigXml#head-
> ffe19c34abf267ca2d49d9e7102feab8c79b5fb5
[Gal Nitzan]
Thanks...
>
> Scroll down to the HashDocSet comment.
>
> I'm not sure how much this will help--it depends greatly on the
> distribution of your tag values.
>
> Also, I'm still suspicious about your application.  You have 1.5M
> distinct tags for 4M documents?  That seems quite dense.
[Gal Nitzan]
Basically the facet query runs on each access to the home page (viewed in a 
tag cloud) but it almost doesn't change...
Here are my cache stats:
description:     LRU Cache(maxSize=1000000, initialSize=600000, 
autowarmCount=300000, 
[EMAIL PROTECTED])
stats:  lookups : 230538968
hits : 228863426
hitratio : 0.99
inserts : 1675543
evictions : 0
size : 944831
cumulative_lookups : 230538968
cumulative_hits : 228863426
cumulative_hitratio : 0.99
cumulative_inserts : 1675543
cumulative_evictions : 0

>
> -Mike


Reply via email to