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: Tue, 07 Nov 2023 13:41:07 +0000
Message-ID: <gh-pgvector-pgvector-259-c1798542933@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
From talking to pgvector users, the most common query pattern in this case is `=`. I've seen a handful of `IN (...)`, and I have not seen inequality. If we can build something that handles the most common case while leaving the door open for handling the others, I think that's a big step forward.
Also, the approach outlined above handles the currently supported case of `SELECT ... ORDER BY ...`, otherwise I don't even think we could consider it.