Table of Contents

Enum IndexType

Namespace
Mythosia.VectorDb.Postgres
Assembly
Mythosia.VectorDb.Postgres.dll

Vector index algorithm for approximate nearest neighbor (ANN) search.

public enum IndexType

Fields

Hnsw = 0

HNSW (Hierarchical Navigable Small World). Better recall, works on empty tables, recommended default.

IvfFlat = 1

IVFFlat (Inverted File with Flat compression). Faster index build, but requires existing data and lower recall than HNSW.

None = 2

No vector index. Performs exact (brute-force) sequential scan. Suitable for small datasets only.