I tried this solution, but seems it has a limit of 100 for each facet.
100 is a little bit small, as we want to put the facet into a dropdown list, and then user can select from there.
I tried with another way, just query the
search method, like this:
facets: [‘brand’, ‘categories’],
I got 1000 for each facet, I 'm not sure if I hit another limit.
but anyway we won’t show all the items if there are several thousands of them.
Do you have any concern about this way?