Skip to main content

Module index

Module index 

Source
Expand description

Index structures for fast lookup.

Each index is built from a [CodeGraph] and provides O(1) or near-O(1) lookups on a specific dimension (symbol name, type, path, language, or embedding similarity). Indexes are independent and can be rebuilt incrementally.

Re-exports§

pub use embedding_index::EmbeddingIndex;
pub use embedding_index::EmbeddingMatch;
pub use language_index::LanguageIndex;
pub use path_index::PathIndex;
pub use symbol_index::SymbolIndex;
pub use type_index::TypeIndex;

Modules§

embedding_index
Vector similarity index for semantic search.
language_index
Index by language.
path_index
Index by file path.
symbol_index
Index by symbol name for fast lookup.
type_index
Index by code unit type.