: The problem is that when I use the 'cd' request handler, the facet count for : 'dvd' provided in the response is 0 because of the filter query used to only : show the 'cd' facet results. How do I retrieve facet counts for both : categories while only retrieving the results for one category?
the "simple facet" params provided by solr have no way to do this ... the facet counts are allways relative the total available docs after applying the "q" and "fq" params .. if it wasn't then you wouldn't be able to get facet counts while "drilling down" into specific facets. you could however easily implement something like this in a custom request handler by using the internal SimpleFacets API and giving it a DocSet you generate jsut fom the q param. -Hoss