Skip to main content

Module persistence

Module persistence 

Source
Expand description

HNSW index persistence

Serializes HNSW vector indexes to content-addressed blocks and restores them on startup. Uses oxicode for binary serialization.

Structsยง

IncrementalSnapshot
A lightweight delta snapshot: only the entries that changed since a base full snapshot was taken
IncrementalTracker
Tracks which HNSW entries have been modified since the last full snapshot
IndexEntry
A serializable entry representing a single indexed vector
IndexPersistence
Manages saving and loading IndexSnapshot files
IndexSnapshot
Serializable snapshot of the complete HNSW index state