We are using algoliasearch-django to populate our indices and React InstantSearch to search. Right now, we have two models in Django, each of which has their own index. Both ModelA and ModelB have the same attributes for faceting. We’re struggling right now to create a refinementList that will apply to searches on both indices.
One thought we had was to, in Django, create one index that has both ModelA and ModelB in it, but this is proving tricky because the two models have no common ancestor.
We thought we should be able to use indexId somehow in the React code but the InstantSearch component has no ‘indexId’ attribute.
Any thoughts on the best way forward would be much appreciated.