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(ci): main is red on the CI toolchain — redundant reference in sort_on_meta_fields

xerj-orgabebd3d7014b
diff --git a/engine/crates/xerj-engine/tests/sort_on_meta_fields.rs b/engine/crates/xerj-engine/tests/sort_on_meta_fields.rs
index ff5e299bb..d68d68a48 100644
--- a/engine/crates/xerj-engine/tests/sort_on_meta_fields.rs
+++ b/engine/crates/xerj-engine/tests/sort_on_meta_fields.rs
@@ -221,7 +221,7 @@ async fn search_after_on_seq_no_pages_the_whole_index() {
(first repeat page starts at {:?})",
collected.len(),
total,
- &collected[total.min(collected.len().saturating_sub(1))]
+ collected[total.min(collected.len().saturating_sub(1))]
);
}