RefinementList search returning wrong results


I have developed a custom RefinementList widget using RefinementList | React InstantSearch | API parameters | API Reference | Algolia Documentation but having some issues regarding search results. Some times wrong results are returned. Please see the below screenshot. As you can see except Life Sciences, all the other results are wrong. Any idea what is going wrong and how to fix?


I have also tested on algolia’s own admin dashboard and it is also returning wrong results. Please see the below screenshot.

I think I have found the solution. I need to set the typo tolerance. Can anyone help regarding how can I do that with refinementList widget?

Hi there.
I think your typo tolerance is too loose to provide all those results.

You can go to your dashboard to tighten your typo tolerance.
If you want to keep the same value, but disable it only with refinement list, it’s not possible out of the box at the moment. The component RefinementList doens’t handle that parameter.

However, you can implement transformItems props to your RefinementList so that you can filter out unmatched lists on the frontend.

Let me know how it goes and if you have any question.