On 2/7/07, Gunther, Andrew <[EMAIL PROTECTED]> wrote:
Any suggestions on how to optimize the loading of facets? My index is roughly 35,000
35,000 documents? That's not that big.
and I am asking solr to return 6 six facet fields on every query. On large result sets with facet params set to false searching is zippy, but when set to true, and facet fields designated, it takes some time to load. I've tried adjusting some/all of the Common Cache Configuration Parameters in the config but haven't gotten any better result times. Any suggestions?
The first time you do these facet requests, they should be slower. After that, they should be somewhat faster. Solr relies on the filter cache for faceting, and if it's not big enough you're going to get a near 0% hit rate. Check the statistics page and make sure there aren't any evictions after you do a query with facets. If there are, make the cache larger. -Yonik