Algolia handles your indexing operations asynchronously.
It can take from seconds to minutes depending on the load on the clusters.
We have currently no way to have Algolia “push” the fact that your index has updates.
However we have the project of adding a “refresh results” component, which when clicked, would reload the state of your search.
Something else you could leverage is the
cache option of the
This will make sure that your search will always return fresh results. By default the JS client will cache results of a given query which might not be expected in SPAs.
I hope that helps.