You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Intz2010
changed the title
Replace seachClient keep the api working with the previous one
Updating seachClient keeps the api working with the previous client/apikey
Oct 22, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The text was updated successfully, but these errors were encountered: