The pg_embedding extension for Postgres and LangChain introduces a 20x speed improvement for high-dimensional vector similarity searches using the HNSW index. It offers advantages over the IVFFlat indexing used by pgvector, particularly in terms of search speed and accuracy. Benchmark tests show that HNSW provides faster
Table of contents
Benchmark ResultsWhy is HNSW faster than IVFFlat?Which index should you pick?Conclusionπ Continue readingSort: