github.devotd.
NewRAG & retrieval

pgvector/pgvector — The extension that adds vector similarity search to Postgres

A C-written extension that adds vector similarity search to Postgres, supporting HNSW·IVFFlat indexes, multiple distance functions, and making use of ACID and JOIN.

Repositorypgvector/pgvector ↗

A C-written extension that adds vector similarity search to Postgres, supporting HNSW·IVFFlat indexes, multiple distance functions, and making use of ACID and JOIN.

GitHub description: Open-source vector similarity search for Postgres

stars
★ 23.4K
Forks
1.4K
Language
C
License
NOASSERTION
Read original source ↗View on GitHub ↗

pgvector is an extension that adds vector similarity search to PostgreSQL. A vector is a list whose elements are numbers, and distance operations are what measure how close the values in two lists are. The README introduces this project as an open-source vector similarity search extension for storing and searching vectors alongside other data in Postgres. It is a C repository created on April 20, 2021, and it has 23,424 stars.

The heart of this extension is that vector search is handled together inside Postgres. It supports both exact search and approximate nearest-neighbor search, and it offers single-precision, half-precision, binary, and sparse vectors along with several distance functions. For fast lookups it supports indexing with two kinds of indexes, HNSW and IVFFlat, and it uses Postgres's ACID transactions, point-in-time recovery, and JOIN capabilities as they are. In an environment that already runs Postgres, the place this extension occupies is that you do not need one more separate store for vector search.

That said, the boundaries that need checking are clear. The provided sources contain no performance figures comparing the processing speed of HNSW and IVFFlat, and no latest release tag could be found, so the version currently deployed is unknown. There is no confirmed license statement either, and it remains only as NOASSERTION. The score for this record fills in only the momentum at 4.3, with the novelty, technical, and quality items left empty. It is certain that results can be returned without approximate search when exact search is required, and that storage and search are handled inside a single database, but how it behaves at larger scale and how the license is stated are hard to judge from this material alone.