Sonic Fast Lightweight Schema-Less Search Backend
Sonic is a fast, lightweight, and schema-less search backend written in Rust. It serves as a drop-in alternative to Elasticsearch that runs on just a few megabytes of RAM, making it ideal for resource-constrained environments and edge deployments.
Installation
Use the upstream install or setup path that matches your environment:
- Sonic is built in Rust. To install it, either download a version from the Sonic releases page, use cargo install or pull the source code from master.
- cargo build --locked --release
- cargo install sonic-server
- docker pull valeriansaliou/sonic:v1.4.9
Requirements and caveats from upstream:
- 👉 Install from Docker Hub:
- You might find it convenient to run Sonic via Docker. You can find the pre-built Sonic image on Docker Hub as valeriansaliou/sonic.
Basic usage or getting-started notes:
👉 Install from packages:
Sonic provides pre-built packages for Debian-based systems (Debian, Ubuntu, etc.).
**Important: Sonic only provides 64 bits packages targeting Debian 12 for now (codename: bookworm). You might still be able to use them on other Debian versions, as well as Ubuntu (although they rely on a specific gli...
Extracted from upstream docs: https://raw.githubusercontent.com/valeriansaliou/sonic/HEAD/README.md