trying to achieve: I want to know if there are more facets so I can give the user a visual queue that there are more options than what I am showing.
So question:
The same way we get found even though we have max per page to limit it to let's say 12.
Is there any way to get a found facets, even though max_facet_values is set to 5?
or is there another way of achieving this?
k
Kishore Nallan
06/09/2021, 8:42 AM
We don't have a way to paginate the facet counts. At best you can query more than needed facets and mimic pagination on the client side.
r
Ricardo
06/09/2021, 8:58 AM
@Kishore Nallan wasn't looking for pagination, just wanted the total. Cause then I can issue another query with max_facet_values increased.
Right now the workaround is to get a query with no max_facet_values and then limit the amount displayed.
k
Kishore Nallan
06/09/2021, 9:10 AM
That workaround is what I meant as well. Can you create a GitHub issue for this feature request? That way we can track it for future prioritisation.