3 ms·
You could maybe use something equivalent to the "index hot swap"[1] feature we have at the Meilisearch level at startup, so that you make the reindexing in a an
by dureuill 4y ago
You could maybe use something equivalent to the "index hot swap"[1] feature we have at the Meilisearch level at startup, so that you make the reindexing in a another index at startup, and then atomatically swap this fresh index with the old one when it is ready? That way, you have fast startup at the cost of having possibly out-of-date information for a while after startup.
(you could even reindex from scratch completely in the background at startup, so no need to discover deleted files at all)
[1]: https://blog.meilisearch.com/zero-downtime-index-deployment/ https://blog.meilisearch.com/zero-downtime-index-deployment/
- kristiandupont 4y agoThat's a great idea, thank you!