Structs§
- Chunk
- Document
- Embedding
Config - Index
Stats - LexaDb
- Preprocess
Output - Output of
Preprocessor::preprocess. - Search
Hit - Search
Options - Tier
Breakdown - Transaction
- Represents a transaction on a database connection.
Enums§
- Embedding
Backend - Lexa
Error - Search
Tier - Retrieval tier — selects the work the search engine does for a query.
Constants§
- EMBEDDING_
DIMS - Native embedding dimension. Tied to the model below; both must change
together (and the existing
vectors_binschema must be re-indexed).
Traits§
- Preprocessor
- Per-file callback signature used by
index_path_with_preprocessor.
Functions§
- default_
db_ path - matryoshka_
truncate - Truncate a Matryoshka-trained embedding to a smaller prefix and
re-normalize. Nomic v1.5 is MRL-trained at canonical dims 64, 128, 256,
512, 768, so any prefix is a valid embedding in the same vector space.
fastembed already returns L2-normalized embeddings; we re-normalize after
truncation so cosine scores stay in
[-1, 1]. - open