Refinement menu Widget wrong result counting when grouping/deduplication enabled


when I enable grouping/deduplication for an index, the result-counting in the refinement-menus are wrong - in this case I have only 1 result (since it is grouped together by the prop full_slug) but the refinements show up with 5 results.

grouping enabled:

grouping disabled:

I see no option for overriding/configuring this.

Any hints?


Hi @ok1,

This may be a result of the facet counts showing before the distinct/deduplication is applied.

We have a parameter called facetingAfterDistinct:

Could you try adding this in the Algolia Dashboard: a custom query parameter in your Dashboard: “+ Add Query Parameter” > "Custom"

Let us know how it goes!

1 Like