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
clippy(autoindex): match on Ok directly in gain's native-candidate probe (CI deny-warnings)
xerj-org5d243d344237
diff --git a/engine/crates/xerj-autoindex/src/gain.rs b/engine/crates/xerj-autoindex/src/gain.rsindex c84c8ee15..5f5bc2864 100644--- a/engine/crates/xerj-autoindex/src/gain.rs+++ b/engine/crates/xerj-autoindex/src/gain.rs@@ -206,7 +206,7 @@ pub fn run_gain_cli() -> i32 {let mut tried = vec![url.clone()];for candidate in native_candidates(&url) {tried.push(candidate.clone());- if let Some(nes) = Es::new(&candidate, key.clone()).ok() {+ if let Ok(nes) = Es::new(&candidate, key.clone()) {if let Ok(v) = nes.get_json("/_audit/_search") {retry = Some(v);break;