Sonic
MPL-2.0 tiny Rust search backend, an Elasticsearch-lite
Rust / Systems · MPL-2.0 · 21.4k
Reviewed 2026-10-18 · last push 2026-10-15 · repo checked 2026-10-19
What's Good
MPL-2.0 (valeriansaliou/sonic), release v1.10.2 (2026-10-05). It normalises natural-language queries, auto-completes and ranks results, and the project's benchmarks show microsecond-range responses with about 30 MB of RAM under load. Clients exist for many languages over its simple TCP protocol. Used in production by Crisp. ★~21.4k.
The Catch
It is an identifier index, not a document store: it returns IDs, not documents, highlights or facets. No vector or hybrid search. MPL-2.0 is file-level copyleft if you modify Sonic itself. For rich search UX, Meilisearch or Typesense do more.
Verdict
The lightest way to add full-text search when you only need IDs back.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/sonic)
HTML
<a href="https://stackgems.com/gems/sonic"><img src="https://stackgems.com/badge/sonic.svg" alt="Sonic reviewed on Stack Gems" height="20"></a>