Skip to main content

Module raw_index

Module raw_index 

Source

Structs§

PassSummary
RawCoverage
The age bound an indexer works to and what its last pass left out, shared with status. It also remembers when each transcript left out was last active, so later passes skip it without reading it again.
RawIndexer
Feeds the raw fallback index from the transcript archive and from raw memories consolidation archived, embedding outside the index lock so recall is never held behind the model.

Constants§

PAUSE_AFTER_EMBED
Embedding sessions are handed out without fairness, so without this gap the indexer takes the session straight back and an ingest or recall waiting for it times out.

Functions§

open_or_rebuild
Opens the raw index, or rebuilds it from scratch when its files cannot be read as an index, for example after a schema change: everything in it is derived from the transcript archive and the store, so the next pass refills it. An I/O error opening the directories themselves is returned instead; tantivy and usearch report their own I/O faults without an I/O cause, so those still rebuild.

Type Aliases§

EmbedBatch