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
Merge pull request #287 from xerj-org/fix/pr279-followups
xerj-org02da30b74518
diff --cc engine/crates/xerj-autoindex/src/progress.rsindex 595968977,20e30d63c..430868e3b--- a/engine/crates/xerj-autoindex/src/progress.rs+++ b/engine/crates/xerj-autoindex/src/progress.rs@@@ -598,8 -575,11 +617,11 @@@ impl Progressdoc.insert("reason".into(), reason.into());doc.insert("wall_s".into(), serde_json::json!(round1(wall)));for (key, value) in extra {- doc.insert((*key).to_string(), (*value).into());+ doc.insert(sanitize(key, SAFE_PATH_MAX), (*value).into());}+ for (key, value) in flags {+ doc.insert((*key).to_string(), (*value).into());+ }let line = serde_json::Value::Object(doc);self.sink.write(format!("{line}\n").as_bytes());}@@@ -614,8 -594,11 +636,11 @@@"xerj-done ok={ok} exit={exit} reason={reason} wall={wall:.1}s"));for (key, value) in extra {- line.push_str(&format!(" {key}={value}"));+ line.push_str(&format!(" {}={value}", sanitize(key, SAFE_PATH_MAX)));}+ for (key, value) in flags {+ line.push_str(&format!(" {key}={value}"));+ }line.push('\n');self.sink.write(line.as_bytes());}