Typesense feels to me like it could be a good fit as a search store for Stalwart.
Based on the information at Search store | Stalwart Typesense seems to have fewer limitations than the existing options:
- High Availability (solves Meilisearch’s limitation): Typesense supports Raft-based multi-node clustering.
- Lightweight (solves Elasticsearch’s limitation): Typesense is written in C++ and distributed as a single binary.
- Dynamic sorting: Typesense allows you to sort results dynamically at query time using a single index.
The main potential downside I can see is that Typesense is ‘in-memory’ which could require a lot of memory for large Stalwart clusters.
(I have no affiliation with Typesense, I’ve used it for other applications and think it could be a good addition to Stalwart.)
Has Typesense been considered before? Would Stalwart consider working on it or accept PRs to have it added as search store?