gemini_memory_rs/bm25/
mod.rs

1//! Local lexical retrieval.
2//!
3//! The default retrieval engine is BM25 over the compiled OKF corpus: warm, in
4//! process, and fast enough that memory can be prepared speculatively while the
5//! user is still speaking. Semantic retrieval is a fallback for the queries
6//! lexical search genuinely cannot serve, not the default path.
7
8pub mod explain;
9pub mod index;
10pub mod schema;
11
12pub use explain::{BoostKind, ScoreComponent, SearchExplanation};
13pub use index::{MemoryIndex, Query, SearchHit};
14pub use schema::{Field, IndexedMemory, MemoryOrigin, tokenize};