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
Commits on main
fix(config): shipped xerj.default.toml parses again — remove dead hnsw_offload_threshold (RC4 blocker 14)
5c85cba xerj-org committed 4 months ago
docs(rc4): synthesized RC4 release plan from 9 production-readiness reviews
60a5b98 xerj-org committed 4 months ago
bench(mixed): open-loop iso-load writer — fixed 40k docs/s absolute-deadline schedule, countable in-flight guard
82b73f5 xerj-org committed 4 months ago
perf(engine): mixed read-under-write — one memtable walk per query, 128k flush cap, merge-publish count seeding
4838abf xerj-org committed 4 months ago
perf(knn): HNSW-served top-level kNN — official cell 23,325ms → 1.87ms, recall@10 1.00 vs ES 0.80
3b83a96 xerj-org committed 4 months ago
docs(bench): GATE PASSED — official harness 52 WIN / 0 LOSE / 25 TIE vs live ES 8.13.4
8b4eee7 xerj-org committed 4 months ago
bench(client): sub-ms-accurate open-loop client — spin pacer + hot event loop (multi_match/pinned false LOSEs dead, scorecard 52W/0L/25T)
e2f6711 xerj-org committed 4 months ago
bench: best-of-3 re-measure on would-be LOSE read rows (single-sample sub-ms verdicts are noise)
0e25cb7 xerj-org committed 4 months ago
perf(query): field-sorted term/terms → dv-predicate sort-candidate narrowing (168ms → 1.0ms, WIN vs ES)
4f18695 xerj-org committed 4 months ago
fix(query): query_string wildcard/prefix terms → constant_score (ES-exact score+order, columnar lane)
34c95e5 xerj-org committed 4 months ago
perf(aggs): composite dense ord-product lane + ES-exact after_key position
5bc982b xerj-org committed 4 months ago
perf(query): pinned closed-form organic lane + ES-exact deep-page max_score & organic-boost drop
ef10b02 xerj-org committed 4 months ago
perf(query): cache prefilters pre-sorted (PrefilterSet) — O(page) prefiltered hydration
1224820 xerj-org committed 4 months ago
perf(query): size:0/_count count-only mode in the scored columnar executor (127-167ms -> sub-ms)
55ba20e xerj-org committed 4 months ago
fix(query): field-sort key ties break by seq_no (ES doc order), not lexicographic _id — and resolve .keyword sort keys
4b3bfce xerj-org committed 4 months ago
style: cargo fmt xerj-engine (pre-existing rustfmt drift in index.rs)
80ce1ba xerj-org committed 4 months ago
perf(query): admit keyword match_phrase into the scored-columnar plan (2.7x -> WIN, bool-wrapped mp scores ES-exact)
886d804 xerj-org committed 4 months ago
perf(query): admit highlight into the scored-columnar plan (highlight cell LOSS→WIN, bool/multi_match+highlight scores → ES-exact)
ff855f9 xerj-org committed 4 months ago
perf(query): flat two-valued walk for must+one-should bools (4-clause bool 2× faster than ES)
70384a5 xerj-org committed 4 months ago
perf(query): flat conjunction lane + pure-should single leaf (query_string family at ES floor)
2d7e8bb xerj-org committed 4 months ago
perf(query): constant lane under tth:true + dead-clause DisMax pruning (official-bench convention at ES floor)
e09d0d1 xerj-org committed 4 months ago
perf(query): closed-form totals for constant-score plans — kill the counting walk (term at ES's floor)
0992598 xerj-org committed 4 months ago
docs(bench): LOSS_BATTLE_PLAN — campaign result: WIN 2 · TIE 11 · LOSS 0, 13/13 MATCH vs live ES
4a184bb xerj-org committed 4 months ago
perf(query): page-offset hydration for constant-score deep pagination (deep from:500 → TIE, LAST loss dead)
c5f1038 xerj-org committed 4 months ago
perf(query): kill the hydration waste — match_all/terms/exists → Filtered plans, prefilter partial-select, page-cap materialisation
5a9ad98 xerj-org committed 4 months ago
perf(query): track_total_hits early termination in the scored-columnar walk (scored family → ES-floor parity)
74c2f3c xerj-org committed 4 months ago
perf(query): keyword fuzzy → columnar blended-frequency plan (ES-bit-exact sim boost, 2.2→0.36ms)
4b7a0f2 xerj-org committed 4 months ago
perf(query): constant-score prefix/wildcard/mbp → columnar ord-range plan (wildcard 4.4→0.7ms)
82d3126 xerj-org committed 4 months ago
perf(query): multi_match(best_fields) → scored-columnar dis_max lowering (ES-bit-exact scores)
5e27c42 xerj-org committed 4 months ago
fix(order): ES-exact doc order — seq_no-sorted merges + settled leaf semantics (flips 6 DIFF cells)
aaa4b59 xerj-org committed 4 months ago