Skip to main content

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 semantic_search;
12pub mod symbol_index;
13pub mod type_index;
14
15pub use embedding_index::{EmbeddingIndex, EmbeddingMatch};
16pub use language_index::LanguageIndex;
17pub use path_index::PathIndex;
18pub use semantic_search::{
19    QueryIntent, SemanticMatch, SemanticQuery, SemanticSearchEngine, SemanticSearchResult,
20};
21pub use symbol_index::SymbolIndex;
22pub use type_index::TypeIndex;