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.

Merge origin/main into carry/todie-1467

xerj-orgda80126098d4
diff --cc engine/crates/xerj-common/src/config.rs
index 354ee4686,8b926fc28..f7e5ec391
--- a/engine/crates/xerj-common/src/config.rs
+++ b/engine/crates/xerj-common/src/config.rs
@@@ -1,6 -1,6 +1,6 @@@
//! xerj configuration system.
//!
--//! Configuration is intentionally minimal: **133 settings** versus
++//! Configuration is intentionally minimal: **134 settings** versus
//! Elasticsearch's 3000+. Every option is named, documented, and has a sensible
//! production-ready default. The format is TOML, loaded from a single file.
//!
@@@ -108,7 -108,7 +108,7 @@@ pub struct Config
pub hub: HubConfig,
}
--// 24 sub-configs, 133 leaf settings in total. Do not maintain that sum by hand
++// 24 sub-configs, 134 leaf settings in total. Do not maintain that sum by hand
// — `journey_zero_config` in xerj-engine/tests/product_experience.rs counts a
// serialised `Config::default()` and fails if this comment and the module
// header stop matching. `Default` is derived: every field is a sub-config that
@@@ -563,7 -550,7 +563,7 @@@ impl Config
}
// ═════════════════════════════════════════════════════════════════════════════
--// Sub-configs (133 user-facing settings total; counted by
++// Sub-configs (134 user-facing settings total; counted by
// `journey_zero_config`, not by hand)
// ═════════════════════════════════════════════════════════════════════════════
@@@ -3739,7 -3725,7 +3746,7 @@@ mod tests
"the section table must sum to the whole config"
);
assert_eq!(
-- total, 133,
++ total, 134,
"the total settings count changed. It is quoted in this module's \
header, in xerj-common/src/lib.rs, in engine/README.md, in \
xerj.default.toml and in EXPECTED_SETTINGS in \
diff --cc engine/crates/xerj-common/src/lib.rs
index 2da13b043,2da13b043..e340d24f1
--- a/engine/crates/xerj-common/src/lib.rs
+++ b/engine/crates/xerj-common/src/lib.rs
@@@ -7,13 -7,13 +7,13 @@@
//! ## Design philosophy
//!
//! Unlike Elasticsearch's 3000+ configuration knobs, xerj deliberately exposes
--//! **133 settings**, each meaningful and production-tested. Every default
++//! **134 settings**, each meaningful and production-tested. Every default
//! is chosen so that a fresh deployment with zero configuration changes performs
//! well for the majority of workloads.
//!
//! ## Modules
//!
--//! - [`config`] — TOML-based configuration (133 settings)
++//! - [`config`] — TOML-based configuration (134 settings)
//! - [`code_query`] — query shaping shared by `xerj search` and the
//! `xerj_search` MCP tool (multi-word glue-token stripping, #1364)
//! - [`feedback`] — the bug/UX-report invitation shared by every `--help`
diff --cc engine/crates/xerj-engine/tests/product_experience.rs
index 5a46fb0ac,5a46fb0ac..bb062c7cb
--- a/engine/crates/xerj-engine/tests/product_experience.rs
+++ b/engine/crates/xerj-engine/tests/product_experience.rs
@@@ -753,7 -753,7 +753,7 @@@ fn count_settings(value: &serde_json::V
/// Settings in a default `Config`, measured by `count_settings`. Quoted in
/// `xerj-common/src/config.rs`; keep the two in step.
--const EXPECTED_SETTINGS: usize = 133;
++const EXPECTED_SETTINGS: usize = 134;
#[tokio::test]
async fn journey_zero_config() {
diff --cc engine/xerj.default.toml
index de30f7fd2,f1912f022..8c548bf27
--- a/engine/xerj.default.toml
+++ b/engine/xerj.default.toml
@@@ -1,6 -1,6 +1,6 @@@
# xerj Default Configuration
# ============================================================
- # This file sets 55 of XERJ's 133 user-facing settings to their
-# This file sets 56 of XERJ's 133 user-facing settings to their
++# This file sets 56 of XERJ's 134 user-facing settings to their
# production-ready defaults, and describes the rest in comments.
# Every value here IS the default, so copying this file changes
# nothing until you edit it (a test enforces that). The complete