From: knizhnik (@knizhnik) <noreply+knizhnik@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Sat, 16 Sep 2023 15:02:28 +0000
Message-ID: <gh-pgvector-pgvector-259-c1722248471@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
I wonder if we can use much simpler approach - just repeat search with larger `ef_search` valuer to return more candidates. I tried to implement such approach for HNSW index: https://github.com/pgvector/pgvector/pull/266
So if filter needs more candidates, HNSWindex will provide them.
What do you think about this approach?