From: williamhakim10 (@williamhakim10) <noreply+williamhakim10@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Wed, 08 May 2024 15:33:06 +0000
Message-ID: <gh-pgvector-pgvector-259-c2100854897@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
This happens because (many of) the vectors that match your filter condition may not be particularly close neighbors of the original embedding, so the space explored by the HNSW index may not contain many matches.