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(#1267): ask for the true match total in the catalog read-back walk
xerj-org8085bffc8e66
diff --git a/engine/crates/xerj-autoindex/src/sync_executor.rs b/engine/crates/xerj-autoindex/src/sync_executor.rsindex 576fe848e..405416531 100644--- a/engine/crates/xerj-autoindex/src/sync_executor.rs+++ b/engine/crates/xerj-autoindex/src/sync_executor.rs@@ -972,6 +972,14 @@ impl<'a> EsSyncBackend<'a> {let mut body = serde_json::json!({"size": Self::CATALOG_WALK_PAGE,"sort": [{"_id": "asc"}],+ // #1267: without this the engine caps `hits.total.value` at+ // the ES 8.x default 10,000 (relation `gte`), so the walk's+ // progress denominator froze at 10k on the 402,814-doc+ // catalog — the exact "stuck ticker" this phase exists to+ // fix. Ask for the true match count so the bar and ETA are+ // real. The walk still terminates on a short page, not on+ // the total, so this only corrects the denominator.+ "track_total_hits": true,"query": {"term": {"run_id": run_id}}});if let Some(after) = search_after {