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.

fix(config): restore the 114-settings count the rebase dropped (#320)

xerj-org10e7e86d165a
diff --git a/engine/crates/xerj-api/src/wal_tap_api.rs b/engine/crates/xerj-api/src/wal_tap_api.rs
index 82e3315a3..4556aa862 100644
--- a/engine/crates/xerj-api/src/wal_tap_api.rs
+++ b/engine/crates/xerj-api/src/wal_tap_api.rs
@@ -113,7 +113,7 @@ pub async fn put_wal_tap(
}
if let Some(v) = patch.indices {
// A pattern that can only ever match system indices is a mistake worth
- // reporting rather than silently dropping: the tap refuses `.xerj-*`
+ // reporting rather than silently dropping: the tap refuses `.xerj*`
// unconditionally, so such a pattern would ship nothing forever and
// look like a broken tap.
if let Some(bad) = v.iter().find(|p| p.starts_with(".xerj")) {
diff --git a/engine/crates/xerj-common/src/config.rs b/engine/crates/xerj-common/src/config.rs
index e4d68ebbd..b32dbec21 100644
--- a/engine/crates/xerj-common/src/config.rs
+++ b/engine/crates/xerj-common/src/config.rs
@@ -411,7 +411,7 @@ impl Config {
}
// ═════════════════════════════════════════════════════════════════════════════
-// Sub-configs (105 user-facing settings total; counted by
+// Sub-configs (114 user-facing settings total; counted by
// `journey_zero_config`, not by hand)
// ═════════════════════════════════════════════════════════════════════════════
@@ -2069,7 +2069,7 @@ mod tests {
drift.join("\n ")
);
- // …and the file's own header quotes how many of the 105 it sets. That
+ // …and the file's own header quotes how many of the 114 it sets. That
// number was 38, then 56, and never once the truth (#207), so count the
// assignments instead of trusting the sentence.
let set_here = toml_src
diff --git a/engine/xerj.default.toml b/engine/xerj.default.toml
index 0d118b0a2..8107c63f9 100644
--- a/engine/xerj.default.toml
+++ b/engine/xerj.default.toml
@@ -523,7 +523,8 @@ access_log = false
# remote must not be able to fill this node's disk. A tap that falls that far
# behind loses entries and reports `gaps` in GET /_xerj/wal_tap/_stats.
#
-# System indices (.xerj-*) are never shipped, whatever `indices` says.
+# System indices (every .xerj* name, not just .xerj-memory-*) are never
+# shipped, whatever `indices` says.
# Everything here is also settable at runtime, without a restart, via
# PUT /_xerj/wal_tap.
#