Skip to main content

Module ivf

Module ivf 

Source
Expand description

Inverted File (IVF) index implementation for approximate nearest neighbor search

IVF is a clustering-based indexing method that partitions the vector space into Voronoi cells. Each cell has a centroid, and vectors are assigned to their nearest centroid. During search, only a subset of cells are examined, greatly reducing search time at the cost of some accuracy.

Structs§

InvertedListStats
Statistics for an inverted list
IvfConfig
Configuration for IVF index
IvfIndex
IVF index for approximate nearest neighbor search
IvfStats
Statistics for IVF index

Enums§

QuantizationStrategy
Quantization strategy for residuals