pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
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 !

view thread (61+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-461@github.com>
Permalink:  ../gh-pgvector-pgvector-461@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox