-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to clear cache to allow real-time refresh of search results. #808
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A part from the order of the imports it looks very good to me :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🔥 thanks a lot :)
bors merge |
i think this feature is missing in the official documentation. would be great to add that. |
#893 :) thanks! |
Pull Request
What does this PR do?
Fixes #790
Implements clearCache method on InstantMeiliSearchInstance to allow realtime updates to search results. This allows algolias refresh example to work out of the box. (https://www.algolia.com/doc/guides/building-search-ui/going-further/improve-performance/vue/#caching)
PR checklist
Please check if your PR fulfills the following requirements:
Thank you so much for contributing to Meilisearch!