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.
Nov 16, 2022 (10 months ago)
Kishore Nallan11:37 AM
If 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 (10 months ago)
Kishore Nallan06:21 AM
Indexed 2764 threads (79% resolved)
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.