algolia / angular-instantsearch

⚡️Lightning-fast search for Angular apps, by Algolia

Home Page:https://algolia.com/doc/deprecated/instantsearch/angular/v4/api-reference/instantsearch/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating seachClient keeps the api working with the previous client/apikey

Intz2010 opened this issue · comments

How to reproduce?

Using the base example of instant search with config object .
The config object includes the search clinet .

But when I change the searchClient (by call to algoliasearch with different params) or the config object . The client did not changed .

So the next requests will still based on the previous apiKey abd previous searchClient

Is there any solution without rendering whole page ?

I have tried to stop the cache mechanism that I saw in previous question but this is will not change the search client

Thanks