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 #1487 from mininxd/multi-instances-xerj
xerj-orgec6ef0622f5a
diff --cc engine/crates/xerj-server/src/main.rsindex 412892ec5,307bc819f..dea994539--- a/engine/crates/xerj-server/src/main.rs+++ b/engine/crates/xerj-server/src/main.rs@@@ -173,17 -151,23 +175,23 @@@ wherwhile let Some(arg) = args.next() {match arg.as_str() {"--config" | "-c" => {- config = args.next().map(PathBuf::from);+ config = Some(PathBuf::from(flag_value(&arg, args.next())?));}"--data-dir" | "-d" => {- data_dir = args.next();+ data_dir = Some(flag_value(&arg, args.next())?);}"--bind" | "-b" => {- bind = args.next();+ bind = Some(flag_value(&arg, args.next())?);}"--port" => {- port = args.next();+ port = Some(flag_value(&arg, args.next())?);}+ "--auto-port" => {+ auto_port = Some(true);+ }+ "--no-auto-port" => {+ auto_port = Some(false);+ }"--insecure" | "-k" => {insecure = true;}