instantsearch-itemsjs-adapter
instantsearch-itemsjs-adapter copied to clipboard
Support multiple indexes
Currently only a single possible index is support, due to the global variable index
in adapter.ts. It would be helpful if getSearchClient
could take an index parameter. It currently looks like it does, since it takes the parameter newIndex?: any
, but this newIndex
is only used as index || newIndex
, so if there's an existing index, newIndex
ignored. Not sure if that's intentional. Hope my issue is clear. Thanks for developing and maintaining this library.