From: mauriciocirelli (@mauriciocirelli) <noreply+mauriciocirelli@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Mon, 06 May 2024 19:52:06 +0000
Message-ID: <gh-pgvector-pgvector-259-c2096792638@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
I have a similar use case.
We have documents splitted into categories and owners. A user may only query documents that they are allowed to (by owners filtering).
We have solved this issue by creating partitions on the categories list and an index on the owners.
It is working fine, as we have just about 20k documents. But multi-key indexing would be insanely appreciated.