pgvector 0.8.0 Released! - Mailing list pgsql-announce

From pgvector via PostgreSQL Announce
Subject pgvector 0.8.0 Released!
Date
Msg-id 173133472572.709.14743591049493026466@wrigleys.postgresql.org
Whole thread Raw
List pgsql-announce
 

pgvector 0.8.0 Released!

pgvector, an open-source PostgreSQL extension that provides vector similarity search capabilities, has released 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 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, 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

 

pgsql-announce by date:

Previous
From: PoWA via PostgreSQL Announce
Date:
Subject: PoWA 5 is out!
Next
From: PGDay/MED via PostgreSQL Announce
Date:
Subject: PGDay/MED Schedule and Registration