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: Fri, 16 Aug 2024 03:18:04 +0000
Message-ID: <gh-pgvector-pgvector-259-c2292656541@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
@cho-thinkfree-com Did you have an index on `user_id`? Based on how many vectors you have per user, if you're always including user_id in the query, have an index on the user_id column could end up being faster while returning the expected results.