Enum IndexType
Vector index algorithm for approximate nearest neighbor (ANN) search.
public enum IndexType
Fields
Hnsw = 0HNSW (Hierarchical Navigable Small World). Better recall, works on empty tables, recommended default.
IvfFlat = 1IVFFlat (Inverted File with Flat compression). Faster index build, but requires existing data and lower recall than HNSW.
None = 2No vector index. Performs exact (brute-force) sequential scan. Suitable for small datasets only.