I have a search page with 3 blocks displaying facets. These facets are using a field of type "Term reference." Even though I have "Minimum facet count" set to 0, only the facets with 1+ results will show.
On a related note, one facet block is using a field of type "List (text)". This field is a list of all 50 states. The facets that show up, however seem to be random. The list shows up as:
(1) Apply Arizona filter
(1) Apply California filter
(1) Apply Colorado filter
(1) Apply District of Columbia filter
(1) Apply Illinois filter
(1) Apply Louisiana filter
(1) Apply Maryland filter
(1) Apply Massachusetts filter
(1) Apply Michigan filter
(1) Apply Minnesota filter
(0) Apply New Jersey filter
(1) Apply New Mexico filter
(1) Apply New York filter
(1) Apply North Carolina filter
(1) Apply Pennsylvania filter
(0) Apply Tennessee filter
(1) Apply Texas filter
(1) Apply Utah filter
(1) Apply Wisconsin filter
Comments
Comment #1
cpliakas commentedHi veach.
This is generally an issue with the backend search module, e.g. Apache Solr Search, Search API Database Search, etc. not returning the facets for Facet API to display. Please specify which set of modules you are using with Facet API, more often than not this type of request should be moved to that projects queue.
Thanks!
Chris
Comment #2
steinmb commented