On 3/1/07, Gunther, Andrew <[EMAIL PROTECTED]> wrote:
Can someone post their magic formula for filterCache (Erik?)  We've hit
a plateau around 1.7mill docs and my response times have suffered when
filtering.

Is this for field faceting (facet.field)?

Have adjusted filtercache up and down all day but can't seem
to get a good handle on these values.  What does size actually correlate
to (number or named-values pairs in hashmap?)

Yes.
Right now, field faceting isn't incredibly scalable if the number of
unique values for the field is high (it iterates through all the
values).  About all you can do is increase the filterCache to be
larger than the number of unique values in your field (check the admin
statistics to see if it's large enough).

There are plans to try and remedy this (the ideas for tree faceting I
talked about in this thread previously), but I haven't had a chance to
work on it recently.  I will eventually though... this is the fun
stuff to work on :-)

http://issues.apache.org/jira/browse/SOLR-153

-Yonik

Reply via email to