Skip to main content

Crate ripvec_core

Crate ripvec_core 

Source
Expand description

Core library for ripvec semantic code search.

Provides the CPU cross-encoder reranker, tree-sitter code chunking, parallel embedding, and cosine similarity ranking.

Re-exports§

pub use error::Error;

Modules§

backend
Backend abstraction layer.
bm25
BM25 keyword search index for code chunks.
cache
Post-v3.0.0: only config survives.
chunk
Tree-sitter based code chunking with sliding-window fallback.
embed
Search configuration, results, and file I/O helpers.
encoder
Encoder abstraction for the ripvec static-table engine.
error
Error types for ripvec-core.
hybrid
Hybrid semantic + keyword search with Reciprocal Rank Fusion (RRF).
languages
Language registry mapping file extensions to tree-sitter grammars.
profile
Pipeline profiling instrumentation.
ranking
Composable ranking layers for search results.
repo_map
PageRank-weighted structural overview of a codebase.
rerank
Cross-encoder reranker for top-K refinement.
searchable
Engine-agnostic searchable-index trait.
similarity
Cosine similarity computation and ranking.
tokenize
HuggingFace tokenizer wrapper.
walk
Parallel directory traversal using the ignore crate.

Type Aliases§

Result
Convenience Result type for ripvec-core.