HNSW: the modern default (pgvector, Pinecone, Weaviate and Qdrant all use it); highest recall and lowest latency, supports steady inserts, but stores the graph alongside the vectors, often 1.5 to 3 times the raw embedding size, and is awkward for bulk rebuilds and deletes.
IVF (and IVF-PQ): cluster-based, cheaper to build, more memory-efficient, lower recall at the same latency, tunable by how many clusters you search; good for very large, mostly static datasets.
Disk-based graph indexes (such as DiskANN) keep most data on SSD to serve very large datasets with limited RAM, trading some latency.
Choose with a benchmark on your own data, filters and update pattern.
Loading…