Expand description
Persistence and freshness checking for vector indices.
Provides content-hash-based staleness detection so vector indices can persist across restarts. When the content hash matches, the existing index is still valid and doesn’t need rebuilding.
Structs§
- Index
Metadata - Metadata stored alongside a vector index for freshness checking.
Functions§
- is_
index_ fresh - Check if an existing vector index is fresh.
- load_
metadata - Load index metadata from a JSON file.
- save_
metadata - Save index metadata to a JSON file.