Skip to main content

Module documents

Module documents 

Source

Re-exports§

pub use analysis::Analyzer;

Modules§

analysis
The lexical analyzer of a store: how text becomes the terms its BM25 index holds and its queries match. Every ingest and query path goes through Analyzer::words and Analyzer::term, so index and query analysis cannot drift apart.

Structs§

BatchTooLarge
A document batch over one of the engine’s batch limits (items, chunks, source or metadata bytes, embedding values, transaction bytes). Nothing was written; a smaller batch can succeed.
DocumentChunk
DocumentChunkRecord
One retained chunk, with its source byte span and document metadata. text is absent when text retention was disabled; spans do not restore omitted whitespace.
DocumentInfo
Document identity, provenance and metadata without copying stored chunk text.
DocumentInput
DocumentReadChanged
DocumentRecord
A stored document as the store holds it: first chunk’s text, metadata and version.
DocumentResult
GraphUnavailable
A graph query reached a store without a graph index.
IngestOptions
Options of one memorize_documents_with call; the default is exactly memorize_documents.
LexicalHit
LexicalOptions
LexicalQuery
A flat Boolean query: bare optional clauses, +required clauses, -excluded clauses, and quoted adjacent phrases. Purely negative queries match no documents.
LexicalResults
MemoryDocumentStore
MemoryStoreStats
Counts describing a MemoryDocumentStore.
SearchOptions
VectorCandidateIdentity
Derived candidate identity, separate from the full stored embedding space.
VectorIndexStatus
State of the snapshot relative to the live store.
VectorQueryOptions
Per-query options of crate::WarmCore::search_vectors.
VectorSearchDiagnostics
VectorSearchResults

Enums§

EncodeMode
When a document’s chunk hypervectors are computed. Terms, postings and text are stored at ingest in every mode, so lexical search sees the document at once; only the vector side (WarmCore::query over chunk vectors) differs.
LexicalExecution
VectorIndexKind
Which implementation answered, or may answer, a vector query.
VectorIndexMode
Route of one vector query.
VectorSearchRoute
The route that actually produced one vector response.

Constants§

DEFAULT_EF
Default beam width of a graph query. Recall depends on the corpus and the graph, so a caller that needs a recall target measures it on its own data.
DEFAULT_GRAPH_MIN_ROWS
Default graph_min_rows: a snapshot with fewer rows carries only the exact scan, which beats a graph traversal at that size.
MAX_BATCH_ITEMS
Documents, and chunks, one memorize_documents_with call accepts.
MAX_EF
MAX_K
REBUILD_AFTER_MUTATIONS
Mutations since the capture after which maintenance builds a fresh snapshot.
SNAPSHOT_MIN_ROWS
Fewest embedded chunks worth a snapshot; smaller stores take the generic exact path.

Traits§

VectorIndex
A nearest-neighbour index over the rows of one VectorSnapshot.

Functions§

chunk_document