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(test): derive the pdf-worker extractor banner from the crate version

xerj-org67dea8bc73b9
diff --git a/engine/crates/xerj-server/tests/pdf_worker.rs b/engine/crates/xerj-server/tests/pdf_worker.rs
index 32a462aa1..a77974b99 100644
--- a/engine/crates/xerj-server/tests/pdf_worker.rs
+++ b/engine/crates/xerj-server/tests/pdf_worker.rs
@@ -96,7 +96,10 @@ fn pdf_worker_is_fresh_process_deterministic_and_preserves_page_provenance() {
assert_eq!(first.stdout, second.stdout);
let response: Value = serde_json::from_slice(&first.stdout).unwrap();
- assert_eq!(response["extractor"], "xerj-autoindex/1.0.0-rc.5");
+ assert_eq!(
+ response["extractor"],
+ format!("xerj-autoindex/{}", env!("CARGO_PKG_VERSION"))
+ );
assert_eq!(response["parser"], "pdf_oxide/0.3.75");
assert!(response["containment"]
.as_str()