On 30-Aug-07, at 9:51 AM, Andrew Nagy wrote:

Here are a few SOLR performance questions:

1. I have noticed with 500,000+ records that my facets run quite fast regarding my dataset when there is a large number of matches, but on a small result set (say 10 - 50) the facet queries become very slow. Any suggestions as to how to improve this?

Maybe a problem with HashSets?  Try reducing this value to zero:

<!-- This entry enables an int hash representation for filters (DocSets)
when the number of items in the set is less than maxSize. For smaller sets, this representation is more memory efficient, more efficient to
         iterate over, and faster to take intersections.  -->
    <HashDocSet maxSize="3000" loadFactor="0.75"/>

-Mike

Reply via email to