From: VincentEggerling (@VincentEggerling) <noreply+VincentEggerling@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #461: Increase max vectors dimension limit for index
Date: Fri, 16 Feb 2024 09:37:36 +0000
Message-ID: <gh-pgvector-pgvector-461@github.com> (raw)
Hello ! I'm wondering what are the reasons for the maximal dimension limit for indexes HNSW and IVFFlat.
Checking _really quickly_ the code, I see those `HNSW_MAX_DIM` and `IVFFLAT_MAX_DIM` constants set to 2000 which seem arbitrary to me, as a non-educated user.
- Why do we have these limits ?
- How would performance scale if the limited were, say, doubled ?
- Is there a plan to increase the limits, considering other vector database products offer up to 32768 dimensions (or even more) for indexed vector ?
Thank you !