One of my application i have to display search data in table. I have title, startdate, enddate, type fields for my table. I want to implement sort title by asc and desc order if table name is clicked. Since i am using react instantsearch components how do i set customRanking parameters? I tried customRanking parameter on component and it says invalid.
Hi @viperx1590, custom ranking is a setting, which means it needs to be set via the dashboard or an api client via the
setSettings method. Setting it in React InstantSearch isn’t possible, as those are search parameters, not settings.
This is on purpose, as otherwise your customers could directly change your ranking, or other settings!