From: johannilsson-cmw (@johannilsson-cmw) <noreply+johannilsson-cmw@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #934: Q: Similar results over multiple instances
Date: Mon, 08 Dec 2025 15:02:48 +0000
Message-ID: <gh-pgvector-pgvector-934@github.com> (raw)
I'm using pgvector in connection with blockchains, and I want to be able to query several instances with the same query and ideally get the same answer back from all instances (for consensus and write to the chain). These instances will be populated with identical vectors (not replicated) in the same order, but since randomness is part of building HNSW indexes, I assume that identical queries against instances with identical data can still differ? Is there any way to increase the likelihood that the indexes on the different instances end up being more similar, and thus return more similar answers? Maybe a seed to control the randomness etc? Or is it only during querying that one can work on getting back as similar a result as possible?