From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #524: Add search option to better process queries with WHERE clause (relaxed monotonicity)
Date: Thu, 18 Apr 2024 15:49:30 +0000
Message-ID: <gh-pgvector-pgvector-524-c2064320340@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-524@github.com>
References: <gh-pgvector-pgvector-524@github.com>
> ANN-benchmark without WHERE (see picture) condition in query shows the decrease the query per seconds rate (additional overhead to support Next interface), that in many cases compensated by increase of the recall (more vectors in the index are checked). Taking into consideration WHERE condition, pgvector with hnsw.use_relaxed option has superior recall comparing to standard HNSW implementation of all programs.
What dataset(s) was used to test the above? What were the PostgreSQL configurations and instance that it was run on.
Did you test the recall/performance on a dataset that specifically was testing the filters?