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.

feat(stats): report the vector_column hydration category in _nodes/stats (#939)

xerj-org8b1a2cec1466
diff --git a/engine/crates/xerj-api/src/es_compat.rs b/engine/crates/xerj-api/src/es_compat.rs
index ceca53ad8..8c91b2cbb 100644
--- a/engine/crates/xerj-api/src/es_compat.rs
+++ b/engine/crates/xerj-api/src/es_compat.rs
@@ -25170,6 +25170,7 @@ pub async fn nodes_stats(State(state): State<AppState>) -> impl IntoResponse {
"row_sequences": { "current_in_bytes": gauge.category_current[5], "peak_in_bytes": gauge.category_peak[5], "map_capacity": capacities[5] },
"decoded_stored": { "current_in_bytes": gauge.category_current[6], "peak_in_bytes": gauge.category_peak[6], "map_capacity": capacities[6] },
"fts_reader": { "current_in_bytes": gauge.category_current[7], "peak_in_bytes": gauge.category_peak[7], "map_capacity": capacities[7] },
+ "vector_column": { "current_in_bytes": gauge.category_current[8], "peak_in_bytes": gauge.category_peak[8], "map_capacity": capacities[8] },
}
})
});