Module vector

Source
Expand description

Vector Index

Re-exports§

pub use residual::RESIDUAL_COLUMN;

Modules§

bq
Binary Quantization (BQ)
flat
Flat Vector Index.
graph
Generic Graph implementation.
hnsw
HNSW graph implementation.
ivf
IVF - Inverted File Index
kmeans
pq
Product Quantization
quantizer
residual
sq
storage
Vector Storage, holding (quantized) vectors and providing distance calculation.
transform
Vector Transforms
utils
v3

Structs§

Query
Query parameters for the vector indices
VECTOR_RESULT_SCHEMA

Constants§

DISTANCE_TYPE_KEY
DIST_COL
INDEX_UUID_COLUMN
PART_ID_COLUMN
PQ_CODE_COLUMN
SQ_CODE_COLUMN

Traits§

VectorIndex
Vector Index for (Approximate) Nearest Neighbor (ANN) Search. It’s always the IVF index, any other index types without partitioning will be treated as IVF with one partition.