When setting up routing with a multi-index search using the <Index>
widget, you may encounter an issue where the routing does not update. This can happen when the <Index>
widget does not have an indexId
.
The solution is to add the indexId
parameter to the <Index>
widget. Providing an indexId
allows different <Index>
widgets to target the same Algolia index. It’s especially useful for the routing feature, and it lets you find the refinements that match an <Index>
widget.
More information on this can be found in our multi-index search guide.
For more information on how to set up the routing for your app, please refer to our guide on how to Sync your URLs with React InstantSearch.