#community-help

Handling Frequently Updated Data on Typesense Server

TLDR Sangeetha expressed satisfaction about Typesense but sought advice on handling frequent data updates. Jason suggested setting up a webhook for changes or regularly polling the data store. Sangeetha found the advice helpful.

Powered by Struct AI
3
10mo
Solved
Join the chat
Nov 11, 2022 (10 months ago)
Sangeetha
Photo of md5-bd33ff2ccc698dbf5709a1341b29cb12
Sangeetha
06:02 PM
👋 Hi everyone! Firstofall typesense is pretty amazing!I did a POC, it worked remarkably well! I just wanted to know if you have anythoughts on this usecase, where we have around 500 FAQ's, we index these collection of FAQ's and information, since docs are stored on the typesense server, if someone changes anything in the FAQ, there is a need on data constantly getting updated in typesense server. Could you point me on handling these cases where a datastore would possibly be frequently getting updated and search should act on the updated data always
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
06:39 PM
Hi Sangeetha! When someone edits an FAQ, you want to have some listener / webhook watching for these changes, and then do the corresponding update in Typesense.

In addition (or if the above is not possible), you want to regularly poll the FAQ data store, and then bulk upsert the data into Typesense, which is pretty fast.
Sangeetha
Photo of md5-bd33ff2ccc698dbf5709a1341b29cb12
Sangeetha
09:17 PM
Awesome sure got it, makes sense! Will try any of the above methods