On Wed, Mar 16, 2011 at 8:05 AM, Dmitry Kan <dmitry....@gmail.com> wrote: > Hello guys. We are using shard'ed solr 1.4 for heavy faceted search over the > trigrams field with about 1 million of entries in the result set and more > than 100 million of entries to facet on in the index. Currently the faceted > search is very slow, taking about 5 minutes per query. Would running on a > cloud with Hadoop make it faster (to seconds) as faceting seems to be a > natural map-reduce task?
How many indexed tokens does each document have (for the field you are faceting on) on average? How many unique tokens are indexed in that field over the complete index? Or you could go to the admin/stats page and cut-n-paste the fieldValueCache entry after your faceting request - it should contain most of the info to further analyze this. -Yonik http://lucidimagination.com