Skip to main content

Module index

Module index 

Source
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.