Updating Typesense Server After Put/Patch API Use
TLDR KARTHICK asks about updating the Typesense server after using the PUT/PATCH API. Kishore Nallan explains various options and mentions background jobs, adding that there's no pre-written material regarding it. KARTHICK appreciates the assistance.
1
Nov 16, 2022 (13 months ago)
KARTHICK
10:47 AMKishore Nallan
11:37 AMIf the database is small and you don't need latest updates, you can also batch update the Typesense server periodically with the full data dump.
Nov 17, 2022 (13 months ago)
KARTHICK
05:03 AMKishore Nallan
06:21 AMKARTHICK
06:22 AM1
Typesense
Indexed 3011 threads (79% resolved)
Similar Threads
Efficient Dataset Creation and Maintenance in Typesense with React
sonu asked about Typesense dataset management in a React project. Nick shared their solution using a postgres database, cron, and the import endpoint. Kishore Nallan suggested updating Typesense whenever MySQL data changes and explained primary databases' role. The dataset file would reside with Typesense, not affecting the front-end load time.
Discussing Data Changes and Typesense Update Methods
sonu asked about the efficient way to manage database updates in Typesense. Kishore Nallan suggested a cron-based approach or to queue updates, along with idea of 'is_deleted' flag to handle deletion.
Handling Frequently Updated Data on Typesense Server
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.