Expand description
UUID-keyed primary vector snapshots and deterministic exact cosine search.
This module owns the backend-neutral vector data contract for M19. It does
not resolve public selectors or graph labels: callers supply already
resolved UUID membership and publish the resulting vectors.parquet file
through the shared search-publication foundation.
Structs§
- Stored
Vector - One canonical row in a vector snapshot.
- Vector
Search Hit - One exact cosine result before public Arrow shaping.
- Vector
Store Limits - Named limits for vector persistence and exact search.
Enums§
- Vector
Upsert Change - Whether an upsert changed primary vector data.
Constants§
- VECTOR_
BACKEND_ VERSION - Persisted Arrow/Parquet backend contract.
- VECTOR_
CONTRACT_ VERSION - Cosine, validation, and ordering contract.
- VECTOR_
DATA_ FILE - File stored inside one immutable vector publication.
Functions§
- apply_
vector_ upsert - Insert or replace one UUID row in canonical UUID order.
- exact_
cosine_ search - Deterministic exhaustive cosine search over a validated snapshot.
- read_
vector_ snapshot - Read and validate one immutable vector snapshot.
- search_
published_ vectors - Read one published artifact and run exact cosine search.
- upsert_
published_ vector - Atomically upsert one resolved UUID into its label/space vector snapshot.
- validate_
published_ vectors - Validate the data file and dimension of a published vector artifact.
- validate_
vector - Validate a supplied or persisted vector and return its squared norm.
- vector_
schema - Canonical schema for one fixed vector dimension.
- write_
vector_ snapshot - Write one complete canonical vector snapshot into a publication build dir.