AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.
Rust agent-memoryai-agentsbm25claude-codeclicode-searchcursordatabaseelasticsearchfull-text-searchhybrid-searchjsonllocal-firstmcpmcp-servermodel-context-protocolragrustsearch-enginevector-search
M5+M7: Configurable shards + raw-byte segment storage
Date: Fri Apr 17 11:00:16 PM UTC 2026
Run 1
xerj index: complete
═══════════════════════════════════════════════════════════
index : battle-20m
file : /tmp/nginx_20m.ndjson
file size : 8632 MB
docs sent : 20000000
errors : 0
ingest time : 21.85 s
ingest rate : 915259 docs/s (WAL-durable, in-memtable)
final flush : 2.96 s
total elapsed : 24.81 s
total rate : 806050 docs/s (fully segment-durable)
workers : 32
batch size : 10000
═══════════════════════════════════════════════════════════
Run 2
xerj index: complete
═══════════════════════════════════════════════════════════
index : battle-20m
file : /tmp/nginx_20m.ndjson
file size : 8632 MB
docs sent : 20000000
errors : 0
ingest time : 22.95 s
ingest rate : 871291 docs/s (WAL-durable, in-memtable)
final flush : 0.60 s
total elapsed : 23.56 s
total rate : 848963 docs/s (fully segment-durable)
workers : 32
batch size : 10000
═══════════════════════════════════════════════════════════
[2m2026-04-17T23:01:07.645480Z[0m [33m WARN[0m [2mxerj_engine::index[0m[2m:[0m merge: failed to parse stored as RawValue: Serde("invalid type: newtype struct, expected any valid JSON value") at character 0
Run 3
xerj index: complete
═══════════════════════════════════════════════════════════
index : battle-20m
file : /tmp/nginx_20m.ndjson
file size : 8632 MB
docs sent : 20000000
errors : 0
ingest time : 22.86 s
ingest rate : 874939 docs/s (WAL-durable, in-memtable)
final flush : 1.49 s
total elapsed : 24.35 s
total rate : 821376 docs/s (fully segment-durable)
workers : 32
batch size : 10000
═══════════════════════════════════════════════════════════
[2m2026-04-17T23:01:36.072794Z[0m [32m INFO[0m [2mxerj_storage::wal[0m[2m:[0m WAL checkpoint written [3mgeneration[0m[2m=[0m8 [3mmax_seq_no[0m[2m=[0m19537603
Progression
| Stage | Ingest | Total | Cores |
|---|---|---|---|
| Single WAL, serde flush | 790k | 720k | 9/32 |
| M2: Sharded WAL | 920k | 858k | 13/32 |
| M5+M7: + configurable shards + raw-byte segments | see above | see above | TBD |