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(autoindex): the eight IndexCfg/ExecutionIdentity initializers the new field broke

xerj-orgfefd11d8629a
diff --git a/engine/crates/xerj-autoindex/src/detect/e2e.rs b/engine/crates/xerj-autoindex/src/detect/e2e.rs
index 53197a00a..1d0870fca 100644
--- a/engine/crates/xerj-autoindex/src/detect/e2e.rs
+++ b/engine/crates/xerj-autoindex/src/detect/e2e.rs
@@ -274,6 +274,7 @@ fn cfg(root: &Path, state_dir: &Path, url: &str) -> IndexCfg {
state_dir: Some(state_dir.to_owned()),
fresh: false,
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
stub_globs: Vec::new(),
ignore: crate::ignore_rules::IgnoreOptions::default(),
max_file_gb: 1,
diff --git a/engine/crates/xerj-autoindex/src/failure_resume_http_tests.rs b/engine/crates/xerj-autoindex/src/failure_resume_http_tests.rs
index e2fd7d5f4..948debd01 100644
--- a/engine/crates/xerj-autoindex/src/failure_resume_http_tests.rs
+++ b/engine/crates/xerj-autoindex/src/failure_resume_http_tests.rs
@@ -521,6 +521,7 @@ fn cfg(root: &Path, state_dir: &Path, url: &str) -> IndexCfg {
state_dir: Some(state_dir.to_owned()),
fresh: false,
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
stub_globs: Vec::new(),
ignore: crate::ignore_rules::IgnoreOptions::default(),
max_file_gb: 1,
diff --git a/engine/crates/xerj-autoindex/src/generation_catalog.rs b/engine/crates/xerj-autoindex/src/generation_catalog.rs
index 11b8c05d8..75bd4119a 100644
--- a/engine/crates/xerj-autoindex/src/generation_catalog.rs
+++ b/engine/crates/xerj-autoindex/src/generation_catalog.rs
@@ -392,6 +392,7 @@ mod tests {
url: "http://engine".into(),
prefix: "ax".into(),
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
chunker_identity: "prepared-records-v1".into(),
embedding_identity_sha256: "a".repeat(64),
embedding_backend: "lexical".into(),
diff --git a/engine/crates/xerj-autoindex/src/generation_catalog_http_tests.rs b/engine/crates/xerj-autoindex/src/generation_catalog_http_tests.rs
index f485819d5..37e800e1e 100644
--- a/engine/crates/xerj-autoindex/src/generation_catalog_http_tests.rs
+++ b/engine/crates/xerj-autoindex/src/generation_catalog_http_tests.rs
@@ -137,6 +137,7 @@ fn execution(generation_id: &str) -> ExecutionIdentity {
url: "http://engine".into(),
prefix: "ax".into(),
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
chunker_identity: "prepared-records-v1".into(),
embedding_identity_sha256: "a".repeat(64),
embedding_backend: "lexical".into(),
diff --git a/engine/crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs b/engine/crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs
index a3ea1d310..1a539c4b1 100644
--- a/engine/crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs
+++ b/engine/crates/xerj-autoindex/src/incremental_reconcile_http_tests.rs
@@ -420,6 +420,7 @@ fn cfg(root: &Path, state_dir: &Path, url: &str, semantic: bool) -> IndexCfg {
state_dir: Some(state_dir.to_owned()),
fresh: false,
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
ignore: crate::ignore_rules::IgnoreOptions::default(),
max_file_gb: 1,
sample: 50,
diff --git a/engine/crates/xerj-autoindex/src/state.rs b/engine/crates/xerj-autoindex/src/state.rs
index af21df0bf..7362e21f2 100644
--- a/engine/crates/xerj-autoindex/src/state.rs
+++ b/engine/crates/xerj-autoindex/src/state.rs
@@ -1466,6 +1466,7 @@ mod sync_journal_tests {
url: "url".into(),
prefix: "prefix".into(),
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
chunker_identity: "chunker-v1".into(),
embedding_identity_sha256: "a".repeat(64),
embedding_backend: "lexical".into(),
diff --git a/engine/crates/xerj-autoindex/src/sync.rs b/engine/crates/xerj-autoindex/src/sync.rs
index 29fc1ca8d..580cd838f 100644
--- a/engine/crates/xerj-autoindex/src/sync.rs
+++ b/engine/crates/xerj-autoindex/src/sync.rs
@@ -1752,6 +1752,7 @@ mod tests {
url: "url".into(),
prefix: "prefix".into(),
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
chunker_identity: "chunker-v1".into(),
embedding_identity_sha256: "a".repeat(64),
embedding_backend: "lexical".into(),
diff --git a/engine/crates/xerj-autoindex/src/sync_executor.rs b/engine/crates/xerj-autoindex/src/sync_executor.rs
index 48316b171..f4a3a2ced 100644
--- a/engine/crates/xerj-autoindex/src/sync_executor.rs
+++ b/engine/crates/xerj-autoindex/src/sync_executor.rs
@@ -1992,6 +1992,7 @@ mod tests {
url: "http://engine".into(),
prefix: "ax".into(),
follow_symlinks: false,
+ follow_symlinks_outside_root: false,
chunker_identity: "chunker-v1".into(),
embedding_identity_sha256: "a".repeat(64),
embedding_backend: "lexical".into(),