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
Yeah, i follow that docs and all its configured, I think the problem is not in that =/
j
Jason Bosco
06/15/2022, 2:21 PM
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.
Jason Bosco
06/15/2022, 2:21 PM
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
CaptainCodeman
06/15/2022, 5:10 PM
you mean something like firestore - where changes are pushed to the client
a
Adrian Valdes
06/15/2022, 8:51 PM
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.