Apart from the performance, to get a "word cloud" from a subset of documents it is a slighly different problem than getting the facets out of it.
If my understanding is correct, what you want is to extract the "significant terms" out of your results set.[1] Using faceting is a rough approximation, that may be good enough in your case. I second the previous comments and in addition I definitely discourage the term enum approach if you have million of terms... [1] https://issues.apache.org/jira/browse/SOLR-9851 ----- --------------- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html