The refresh() method clears the Algolia responses cache and triggers a new search. However, if the search results remain the same, some components (templates) may skip re-render.
By default, Algolia caches the search results of the queries, storing them locally in the cache. This cache only persists during the current page session, and as soon as the page reloads, the cache clears.
If users type a search (or part of it) that’s already been entered, the results will be retrieved from the cache instead of requesting them from Algolia, which means some components may skip re-render if nothing has changed.