From: mgoldenbe (@mgoldenbe) <noreply+mgoldenbe@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Wed, 25 Oct 2023 15:10:15 +0000
Message-ID: <gh-pgvector-pgvector-259-c1779501716@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>
@knizhnik
Why can't the partial index approach work when the number of categories is both large and non-fixed? In particular:
1. **Large**. There is no limit on the number of indices one can have on one table.
2. **Non-fixed**. One can automatically create a new index as soon as a new category is added. This should be very fast, since the there no documents in the new category as of yet.