This language is for development only. Switch to English (US) to try our product live.

How to display the count (number of items) for the facets?

If you're using a facet, Algolia will automatically calculate and send you the count (number of items) for each value of the facet. You can find this information in the JSON answer of a search query.

Each value is associated with its count:
"facets" : {
  "category" : {
    "Movies & TV Shows" : 85,
    "Cell Phones" : 24,
    "Headphones" : 24,
    ...
}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk