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.3 KB
Raw Blame
# Stock release binary (main @ a179e1ef3, 'xerj v1.0.0-rc.78') — what --decide-mode local does

Boot command:
  /tmp/xerj-rc80gates-bin/xerj --insecure --port 9600 --data-dir <throwaway> --embed-mode lexical --decide-mode local --decide-model-dir /tmp/xerj-rc80gates-artifact/xerj-decide-v1

Boot log (nodes/a.log):
2026-09-30T17:55:45.067601Z  INFO xerj: decide ladder resolved (tier 2 off) mode=local from="CLI"
2026-09-30T17:55:45.067616Z  WARN xerj: XERJ_DECIDE_MODE=local was requested but this binary was built without the decide-local feature; rebuild with `cargo build --release -p xerj-server --features decide-local`

Request: POST /_decide {"question":"URGENT! You have won a £1000 prize...","positive_label":"spam","index":""}
Response:
{"error":{"type":"illegal_argument","reason":"`index` must name the judgement-history index"}}

GET /v1/models (native port 9601):
{"models":[{"name":"xerj-history-vote-1","description":"Weighted nearest-neighbour vote over a labelled-history index (no [decisions] index configured: /v1/systemone answers 503)","release_date":"2026-09-20"}]}

Release workflow build line (.github/workflows/release.yml:191):
191:            cargo build --release --locked --target ${{ matrix.target }} -p xerj-server