pub enum IndexKind {
Range,
Unique,
Text,
Ann,
Agg,
}Expand description
Index kind (KIND range|unique).
Variants§
Range
Ordered scan over (value, key) pairs.
Unique
Point lookup by value; duplicates recorded (declarative fence — RFC D3: uniqueness is verified, not write-enforced).
Text
v2.7 full-text: the field tokenizes into an inverted segment
(kevy-text); queried with MATCH, BM25-ranked.
Ann
v2.8 ANN: the field holds an f32 LE vector indexed in an HNSW
graph (kevy-vector); queried with KNN, distance-ranked.
Agg
v3.1 aggregate: per-group count/sum/min/max of the field,
grouped by IndexSpec::group_by; queried with GROUP/GROUPS.
Implementations§
Trait Implementations§
impl Copy for IndexKind
impl Eq for IndexKind
impl StructuralPartialEq for IndexKind
Auto Trait Implementations§
impl Freeze for IndexKind
impl RefUnwindSafe for IndexKind
impl Send for IndexKind
impl Sync for IndexKind
impl Unpin for IndexKind
impl UnsafeUnpin for IndexKind
impl UnwindSafe for IndexKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more