Skip to main content

Module index

Module index 

Source
Expand description

RipvecIndex orchestrator and PageRank-layered ranking.

Port of ~/src/semble/src/semble/index/index.py:RipvecIndex. Owns the corpus state (chunks, file mapping, language mapping, BM25, dense embeddings, encoder) and dispatches search by mode.

§Port-plus-ripvec scope

Per docs/PLAN.md, after the ripvec engine’s own rerank_topk runs, ripvec’s boost_with_pagerank is applied as a final ranking layer. The PageRank lookup is built from the repo graph and stored alongside the corpus when one is provided at construction; the layer no-ops when no graph is present.

Structs§

RipvecIndex
Combined orchestrator for the ripvec retrieval pipeline.

Enums§

CorpusClass
Index-time classification of the corpus by file mix.

Functions§

find_chunk_containing_line
Locate the chunk index for a given file path and 1-based line number.