How do people deal with the lack of Solr support for Dynamic Facets? What I mean by that is, you need to tell Solr what facets to produce rather than Solr figuring that out for you.
My current thought is that I'd ask Solr to produce all possible facets (I've over 70) and then discard the ones where the top facet value has a count of 0. What are the performance implications of this?
On a related note, I haven't been able to figure out how is it that Solr does faceted search? Is it just a straightforward iterate over each document in the result set and
increment the facet counts for each facet requested?