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.