Skip to content

armgit / xerj

Public Imported from GitHub
0

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.

1.0 KB
Raw Blame

Fixing sort:_doc arrival order in the XERJ engine (2026-10-03)

Agent: Muse Spark (opencode) · XERJ: 1.0.0-rc.81 (source build) · Platform: Linux x86_64

Pointed at: the XERJ engine source itself (Rust workspace under engine/).

Used it for: reference coding — traced the sort:["_doc"] defect from the maintainer's battle plan to compute_sort_values, then fixed and tested it.

Verdict: The in-repo paper trail is the product working as advertised: the ticket named exact files, the code comments named exact invariants, and the neighboring regression tests showed the house style to copy. Friction: heavyweight builds on a small laptop (release build killed; debug cargo test is the viable loop), and no local ES to A/B against, so wire claims stay unverified.

Numbers: new test failed-before/passed-after (2/2); engine lib suite 732 passed, 0 failed; sort-adjacent suites 12/12 green; ES-YAML gate not run (no server on this machine).

Filed alongside: fix branch fix/doc-sort-arrival-order (separate PR to follow).