Getting info from search response

What technique do you suggest for getting info from the entire result set (instead of only the current page)? For instance, get a count of distinct attribute values and also the minimum and maximum value of another attribute.

Hi there,

To get a count of distinct attribute values or do other kinds of manipulation/analysis of your dataset, there are multiple approaches you could take. A couple that come to mind are:

  1. In your Algolia dashboard, make an attribute facetable, then go look at the count for any specific attribute value.

  2. Use browse() or browseAll() to browse through or [export your index].(

Let me know if this is along the lines of what you were looking for! :slight_smile:

1 Like

We’ve ended up making 2 attributes faceteable (but without displaying them in the UI) in order to grab the stuff we needed. This has increased response payloads, though.