Hello, i’m trying to implement a search and filter system using the algolia-helper.
I’m trying something like “retrieve all the users with a max score of XX”
I have 1 input range (max-score) with a change event listener binded to:
helper.addNumericRefinement('score', '<=', $(this).val())
which will trigger the change event of the helper and execute
When I observe my state, I see duplicates of the score refinement.
I tried binding to
But beside triggering the change event twice, it really looks ugly.
Is there something I don’t understand about refinements ? Is there another solution for simple filters like that ?
I can’t find any good documentation about this, the only answers I see are “look how easy it is with instantsearch”
Thank you for your help