Expand description
Index structures for fast lookup. Each index is independent and incrementally updateable.
Re-exports§
pub use cluster_map::cosine_similarity;pub use cluster_map::ClusterMap;pub use doc_lengths::DocLengths;pub use session_index::SessionIndex;pub use temporal_index::TemporalIndex;pub use term_index::TermIndex;pub use type_index::TypeIndex;
Modules§
- cluster_
map - Cluster map — pre-computed k-means clustering of feature vectors.
- doc_
lengths - Document length table for BM25 normalization.
- session_
index - Session index — maps each session_id to sorted node IDs in that session.
- temporal_
index - Temporal index — sorted (timestamp, node_id) pairs for time range queries.
- term_
index - BM25 inverted index mapping terms to posting lists.
- type_
index - Index by event type — maps each EventType to sorted node IDs.