: What do you mean, compare the counts? : : Do you mean compare the number of results for the facet to the total : number of results found, and if they're the same, don't show it?
bingo ... if you know that the current request resulted in 1,278 documents, and you have a facet.field called "style" with the following constraints counts... "cool" => 78 "hip" => 1278 "urban" => 1278 "sporty" => 634 ...then you can safely not offer the user the option of adding a filter on style:hip or style:urban since doing so won't affect the result set. it doesn't matter if hte user already applied a filter on "style:hip" or "style:urban" hat matters is that in the context of whatever filters are already applied, there is not value in trying ot filter on them now. -Hoss