a3s-vec 0.1.8

Native Rust in-process vector database with zvec-compatible capabilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Exact Flat index: contiguous unquantized coordinates, no graph.

/// Marker for an exact Flat base. Coordinates live on `VectorIndexBase`;
/// this kind only distinguishes Flat from approximate ANN layouts.
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub(super) struct FlatIndex;

impl FlatIndex {
    pub(super) fn build() -> Self {
        Self
    }

    pub(super) const fn estimated_payload_bytes() -> usize {
        0
    }
}