agentic_codebase/index/mod.rs
1//! Index structures for fast lookup.
2//!
3//! Each index is built from a [`CodeGraph`] and provides O(1) or near-O(1)
4//! lookups on a specific dimension (symbol name, type, path, language, or
5//! embedding similarity). Indexes are independent and can be rebuilt
6//! incrementally.
7
8pub mod embedding_index;
9pub mod language_index;
10pub mod path_index;
11pub mod symbol_index;
12pub mod type_index;
13
14pub use embedding_index::{EmbeddingIndex, EmbeddingMatch};
15pub use language_index::LanguageIndex;
16pub use path_index::PathIndex;
17pub use symbol_index::SymbolIndex;
18pub use type_index::TypeIndex;