From: | pgvector via PostgreSQL Announce <announce-noreply(at)postgresql(dot)org> |
---|---|
To: | PostgreSQL Announce <pgsql-announce(at)lists(dot)postgresql(dot)org> |
Subject: | pgvector 0.8.0 Released! |
Date: | 2024-11-11 14:18:45 |
Message-ID: | 173133472572.709.14743591049493026466@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-announce |
[pgvector](https://github.com/pgvector/pgvector/), an open-source PostgreSQL extension that provides vector similarity search capabilities, has released [v0.8.0](https://github.com/pgvector/pgvector/releases/tag/v0.8.0). This release includes features that improve query performance and usability when using filters (e.g. the `WHERE` clause), and performance improvements for searching and building [HNSW](https://github.com/pgvector/pgvector?tab=readme-ov-file#hnsw) indexes.
This latest version of pgvector has a variety of improvements for filtering. This includes an update to how PostgreSQL estimates when to scan a approximate nearest neighbor (ANN) index like HNSW and IVFFlat, which could lead PostgreSQL to select a B-tree or other index that more efficiently executes the query. If you can achieve the same query performance without using an ANN index, this is usually preferable as it lets you achieve 100% recall, or high relevancy searches.
Additionally, this pgvector release adds [iterative index scans](https://github.com/pgvector/pgvector?tab=readme-ov-file#iterative-index-scans), which is a technique to prevent "overfiltering" or not returning enough results to satisfy the conditions of a query. You can enable iterative scanning with the `hnsw.iterative_scan` and `ivfflat.iterative_scan` parameters for HNSW and IVFFlat indexes respectively, and if an initial index scan doesn't satisfy the query conditions, pgvector will continue to search the index until it hits a configurable threshold (`hnsw.max_scan_tuples` and `ivfflat.max_probes`).
For more information, please see the [CHANGELOG for 0.8.0](https://github.com/pgvector/pgvector/blob/master/CHANGELOG.md#080-2024-10-30):
For more information about pgvector, including how to get started, please visit the [project repository on GitHub](https://github.com/pgvector/pgvector):
[https://github.com/pgvector/pgvector](https://github.com/pgvector/pgvector)
From | Date | Subject | |
---|---|---|---|
Next Message | PostgreSQL Global Development Group | 2024-11-14 14:08:41 | PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 Released! |
Previous Message | PoWA via PostgreSQL Announce | 2024-11-10 20:24:14 | PoWA 5 is out! |