From: rsomani95 (@rsomani95) <noreply+rsomani95@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #786: Question Re. Index Building Being Deterministic
Date: Thu, 27 Feb 2025 20:21:06 +0000
Message-ID: <gh-pgvector-pgvector-786@github.com> (raw)
Assuming indexing params are consistent between the 3, consider these 3 scenarios:
1. Creating an index first on an empty table, then incrementally adding vectors
2. Adding all vectors first, then creating the index
3. Adding a bunch of vectors, creating the index, then adding a bunch more
I have two questions regarding these scenarios:
1. Would building the index N times for the same scenario result in an indentical index?
2. Will all 3 scenarios result in identical indexes?
For both questions, if the indexes are not deterministic, would the real world performance for them be roughly the same?