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.

polish(scripts): demo setup.sh passes XERJ_ES_PORT to the server it polls (#1548)

xerj-org223ddec9d379
diff --git a/demo/scripts/setup.sh b/demo/scripts/setup.sh
index d6e897208..3398d68a4 100755
--- a/demo/scripts/setup.sh
+++ b/demo/scripts/setup.sh
@@ -51,7 +51,7 @@ mkdir -p "$DATA_DIR"
# 4. Start the server in the background.
echo "==> starting server"
-"$BINARY" --insecure --data-dir "$DATA_DIR" >"$LOG_FILE" 2>&1 &
+"$BINARY" --insecure --port "$PORT" --data-dir "$DATA_DIR" >"$LOG_FILE" 2>&1 &
echo $! > "$PID_FILE"
# 5. Wait for green cluster (60s budget).