I love Meilisearch. The API is a joy, the SDKs are everywhere, and it just works.
What I didn't love was the bill for RAM.
Search is usually a small feature of a bigger product. But the moment you index a few hundred thousand documents, your "small feature" wants a 2 GB box, and if you serve several customers, it wants one per customer or a much bigger one.
So I wrote Trailhound: an open-source search engine in Rust that speaks the Meilisearch API, built around one promise — low memory.
Same test, same machine, 300,000 documents, against Meilisearch 1.58:
• Peak memory while indexing: 95 MB vs 2,104 MB
• Memory after searching: 55 MB vs 193 MB
• Disk: 63 MB vs 598 MB
• Indexing 100k docs: ~3 s vs ~6 s
• 8 tenants under load: 104–190 MB vs ~1,100 MB
Where it doesn't win: raw speed. Search latency is in the same range (about 1–4 ms median), and Meilisearch has the better p99 and a bit more throughput at low concurrency. I traded some of that for memory, on purpose.
What you get:
→ Works with the Meilisearch SDKs you already use. Point the client at a different URL.
→ Typo tolerance, prefix search, filters, facets, sorting, and results ranked the way Meilisearch ranks them.
→ Multi-tenant from the start: each tenant has its own keys, quotas and usage, plus an admin panel.
→ One binary. No JVM, no cluster, no config file required.
→ MIT licensed.
Try it in one line:
docker run -p 7700:7700 -v trailhound-data:/data ghcr.io/multi-api/trailhound
Or: cargo install trailhound --locked
Honest status: this is 0.1.0. It's young. Some Meilisearch features aren't there yet (geosearch, tenant tokens, distinct, vector search), and the benchmark is synthetic data — bigger real-world numbers are coming, and I'll publish them whether they flatter the project or not. The scripts are in the repo so you can run them yourself.
If you run search on a small VPS, host it for several customers, or just want to see how far 100 MB can go: try it, break it, and tell me what's missing.
https://github.com/multi-api/trailhound

GitHubBuild software better, togetherGitHub is where people build software. More than 225 million people use GitHub to discover, fork, and contribute to over 800 million projects.
commit c04a6b6