Expand description
veles-core — Fast code search library for agents.
Provides indexing, chunking, BM25, dense vector search, and hybrid ranking. No Python dependencies — pure Rust using model2vec-rs for static embeddings.
Re-exports§
pub use veles_index::VelesIndex;pub use types::Chunk;pub use types::IndexStats;pub use types::SearchMode;pub use types::SearchResult;
Modules§
- chunker
- Source code chunker — splits files into indexable units.
- index
- Index module — dense index, sparse index, search, and the main
VelesIndex. - model
- Model loading wrapper around model2vec-rs.
- persist
- Persistent on-disk index format.
- ranking
- Ranking module — boosting, penalties, and weighting.
- symbols
- Tree-sitter-backed symbol extraction.
- tokenizer
- Tokenizer for BM25 indexing — splits identifiers into sub-tokens.
- types
- Core types for veles-core.
- veles_
index - Main
VelesIndex— the central API for indexing and searching code. - walker
- File walker — walks directories, filters by extension, respects .gitignore.