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
fix(api): /_xpack and /_xpack/usage report real auth state instead of hardcoded true
Vincenzo Lombardoc895e07ee9b9
diff --git a/engine/crates/xerj-api/src/es_compat.rs b/engine/crates/xerj-api/src/es_compat.rsindex c27161890..f14fb104d 100644--- a/engine/crates/xerj-api/src/es_compat.rs+++ b/engine/crates/xerj-api/src/es_compat.rs@@ -21409,7 +21409,7 @@ pub async fn xpack_info(State(state): State<AppState>) -> impl IntoResponse {"features": {"security": {"available": true,- "enabled": true,+ "enabled": state.config.auth.enabled,"ssl": { "http": { "enabled": false }, "transport": { "enabled": false } }},"monitoring": { "available": true, "enabled": true },@@ -21486,7 +21486,7 @@ pub async fn xpack_usage(State(state): State<AppState>) -> impl IntoResponse {Json(json!({"security": {"available": true,- "enabled": true,+ "enabled": state.config.auth.enabled,"audit": { "enabled": false },"ip_filtering": { "pki": { "enabled": false } },"roles": { "native": { "size": 0, "dls": false, "fls": false }, "file": { "size": 0, "dls": false, "fls": false } },