From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Thu, 14 Sep 2023 14:58:03 +0000
Message-ID: <gh-pgvector-pgvector-259-c1719622821@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
Forgot to post this the other day, but this is what I was thinking around HNSW -- effectively keeping two pairs of links in a "multi-column" style index. The first set of links connect every vector in the index. The second set of links are specific to a particular filter (e.g. `cat_id`). That way, if you're searching on a "filter", you're searching on those links directly related to the filter.
