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.

fix(autoindex): #768 add xerj_url_note to the brain-path IndexCfg constructor

xerj-orga8a13bdc2c86
diff --git a/engine/crates/xerj-server/src/brain.rs b/engine/crates/xerj-server/src/brain.rs
index 77cbbb0a6..3d1457eb6 100644
--- a/engine/crates/xerj-server/src/brain.rs
+++ b/engine/crates/xerj-server/src/brain.rs
@@ -565,6 +565,10 @@ fn index_cfg(cfg: &BrainCfg, brain: &str, api_key: Option<String>) -> IndexCfg {
scan_workers: plan.scan_threads,
pdf_workers: plan.pdf_workers,
resource_notes: plan.notes,
+ // #768: the XERJ_URL-vs-`--url` mismatch is a CLI-parse concern; the
+ // brain path takes its endpoint from BrainCfg directly and never reads
+ // the env var, so there is no ignored-XERJ_URL warning to carry here.
+ xerj_url_note: None,
pdf_timeout_secs: 120,
bulk_mb: BULK_MB,
bulk_timeout_secs: 300,