From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #786: Question Re. Index Building Being Deterministic
Date: Thu, 27 Feb 2025 20:37:44 +0000
Message-ID: <gh-pgvector-pgvector-786-c2689060299@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-786@github.com>
References: <gh-pgvector-pgvector-786@github.com>
Hi @rsomani95, the HNSW algorithm uses randomness to select the level for each element, so none of the indexes will be exactly the same. They should all have similar query performance, but the index will build the fastest in scenario 2.