Fourteen engines on one laptop's cluster
A kind cluster inside Docker Desktop on a MacBook Air, 3 CPUs and 6 GiB per engine. The nodes share four CPUs, so this compares the engines with each other, not with real machines. BEIR NQ's judgments score every answer with nDCG@10.
On this small budget ChloeDB is fastest on 14 of 45 tests, in the top half on 40 and never last, and ties for first on BM25 nDCG@10. It is behind on typo search, SQL aggregates and key lookups. One pass.
- Machine
- MacBook Air M2, 24 GB; Docker VM with 4 CPUs and 8.7 GiB
- Cluster
- kind, 3 workers: data on two, clients on the third
- Budget
- 3 CPUs and 6 GiB per engine. ChloeDB: 2 shards of 1 CPU, a 1-CPU coordinator
- Data
- 1M BEIR NQ passages, bge-small-en-v1.5 vectors (384 dimensions)
- Queries
- 300 judged queries per kind at 1, 4 and 16 clients
- Quality
- nDCG@10 from NQ's judgments; recall@10 for vectors
Summed places over 45 tests
Under other rules
ChloeDB stays first under every rule but one: on only the six kinds every engine runs, Qdrant is ahead by three points.
Each engine's place on each kind
The numbers behind the places
nDCG@10 is there for every kind with judged answers.
Answers scored against NQ's judgments
With the same analysis and BM25 parameters, eight engines agree within 0.006 (0.305 to 0.311). Meilisearch, Typesense and Postgres rank by rules of their own. On RRF hybrid, ChloeDB is mid-table.
Writes searchable in under 2 ms
As in the cloud: ChloeDB and Vespa make a write searchable when it returns, the Lucene engines refresh every second, and ChloeDB's stream consumer writes no event twice after a crash.
Shown, not ranked
ChloeDB's shards were built offline, the others loaded over HTTP.
Every number comes from these files
- README.md: setup, builds and every table
- NOTES.md: what went wrong on the way
- The directory: raw reports per engine (Solr's aggregate from a re-run with its
sqlmodule on) - The method: budgets, settings and every engine's request