Skip to main contentModule vector
Source pub use id_map::AttachedVectors;pub use id_map::IndexIdMap;pub use id_map::VectorIdMap;pub use state::RestoredVectorState;pub use state::VectorState;
- build
- HNSW insert algorithm (Malkov & Yashunin, Algorithm 1).
- distance
- Distance metrics for vector similarity search.
- durable
- Durable per-document vector storage — the source of truth for vectors.
- graph
- hnsw
- hnsw_search
- HNSW search algorithm (Malkov & Yashunin, Algorithm 2).
- id_map
- Bidirectional binding between HNSW node ids and document ids.
- nodes
- Binding a document’s vector to its HNSW node, and releasing it.
- pagedb_backing
PagedbBacking: low-allocation VectorSegmentBacking backed by
a decrypted pagedb segment loaded into a heap-pinned byte buffer.- resident
- Resident access to HNSW indexes that eviction can drop from memory.
- row
- The CRDT row a vector is attached to.
- search
- Vector similarity search over one HNSW index, shared by
NodeDbLite and
LiteDataPlaneVisitor. - segment
- Vector segment payloads in node-id order, and the check that a stored
segment serves the nodes of the index it is attached to.
- sidecar
- state
- Shared runtime state for HNSW vector search on Lite.
- HnswIndex
- Hierarchical Navigable Small World graph index.
- HnswParams
- HNSW index parameters shared between Origin and Lite.
- SearchResult
- Result of a k-NN search.
- DistanceMetric
- Distance metric selection.