Hi everyone! I have a question... How can I make m...
# community-help
a
Hi everyone! I have a question... How can I make my documents on client side realtime with the typesense database? Now whenever I add or remove a document on client side the user has to refresh de page to have te response of that action
k
For instant search experience, please see this page: https://typesense.org/docs/guide/search-ui-components.html
a
Yeah, i follow that docs and all its configured, I think the problem is not in that =/
j
I'm surprised to hear that. As long as you send the document to Typesense as soon a user creates it, if you make an API call to Typesense after that, Typesense will return the latest documents as well.
If it doesn't work this way, then if you're able to put together a minimal example that reproduces the issue, I can help debug
c
you mean something like firestore - where changes are pushed to the client
a
Yes @CaptainCodeman im using firestore as backend. The issue, is that i have the documents created on clientside that is created in firestore, then a firebase function create the document on typesense cluster. I think that can cause some lag, idk.