> -----Original Message-----
> From: Mike Klaas [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 31, 2007 9:07 PM
> To: solr-user@lucene.apache.org
> Subject: Re: facet question
>
> On 31-May-07, at 1:33 AM, Gal Nitzan wrote:
>
> > Hi,
> >
> > We have a small index with about 4 million docs.
> >
> > On this index we have a field "tags" which is a multiple values field.
> >
> > Running a facet query on the index with something like:
> > facet=true&facetField=tags&q=type:video takes about 1 minute.
> >
> > We have defined a large cache which enables the query to run much
> > faster
> > (about 1 sec)
> >
> > <filterCache
> >  class="solr.LRUCache"
> >  size="1500000"
> >  initialSize="600000"
> >  autowarmCount="300000"/>
> >
> >
> > 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...


>
> Do you really have 1.5M unique values in that field.  Are you
> analyzing the field (you probably shouldn't be)?

[Gal Nitzan]
No it is not analyzed. Just indexed and stored.



>
> -Mike
[Gal Nitzan]



Reply via email to