Expand description
Schema types for the vector subsystem.
These types model the subset of the RediSearch FT.CREATE
grammar that dynomite::vector will eventually parse and
act on. Phase B (this commit) lands the data shapes; Phase
C will add the FT.* command parser that builds them and
routes through super::registry::VectorRegistry.
The schema types are intentionally distinct from the engine
types in dynvec. The engine types are storage-level (a
dynvec::Codec is a storage codec, a dynvec::Distance
is a scoring function); the schema types are the
protocol-level shape clients send over the wire. The
conversion functions on VectorType, DistanceMetric,
and IndexAlgorithm turn one into the other.
Structs§
- Metadata
Field - One non-vector schema field.
- Vector
Schema - Compiled FT.CREATE schema.
Enums§
- Distance
Metric - RediSearch distance metric.
- Index
Algorithm - Index algorithm.
- Metadata
Field Type - RediSearch metadata field type.
- Vector
Type - RediSearch-flavoured vector field type.