I am trying to implement a Faceted search or tagging with multiple-tag filtering. In the faceted navigation, only not-empty categories are displayed and the number of items
IMO, relational databases aren't that good at searching. You would get better performance from a dedicated search engine (like Solr/Lucene).