pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Wed, 30 Oct 2024 22:55:35 +0000
Message-ID: <gh-pgvector-pgvector-259-c2448617049@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>

0.8.0 is now released with support for [iterative index scans](https://github.com/pgvector/pgvector?tab=readme-ov-file#iterative-index-scans). It also improves cost estimation for better index selection.

For filtering on columns where some values match few rows and others match many, it can be good to add an exact index on the filter column as well as an approximate index on the vector column (which will allow the planner to choose the best index for the specific query).

Also, as I mentioned earlier, there are plans to continue exploring composite indexes for better performance.

Since this thread is getting pretty long, please create a new issue for any follow-up. Thanks all.

view thread (90+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-259-c2448617049@github.com>
Permalink:  ../gh-pgvector-pgvector-259-c2448617049@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox