We are building an search experiance for an eccomerce platform. We have a few different content types (different document types) indexed in a few diffrent indicies.
We have tried a few different approaches without any luck to change the current index being used by the search provider but nothing seems to be working, it keep sending the search request to the first index that it was initialized with.
Switching between two diffent indices
Last attemt was to create a whole new AppSearchAPIConnector with new searchKey and engineName in but that didn’t work either.
TheAppSearchAPIConnector is changed but nex search is done towards old index url, with throws an error since the field set is different
Any ideas on how to toggle the index and make a new search at the same time
@elastic/search-ui: 1.5.1
@elastic/search-ui-app-search-connector: 1.5.1
Working example would be great.
Thank you for a good product!
