From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #972: Binary vectors - querying the nearest neighbors by Hamming distance with HNSW gives wrong results
Date: Tue, 31 Mar 2026 19:22:36 +0000
Message-ID: <gh-pgvector-pgvector-972-c4164912396@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-972@github.com>
References: <gh-pgvector-pgvector-972@github.com>
A few questions:
1. What are the results with `SET enable_indexscan = off;`?
2. Are there a lot of duplicate hashes in the table?
3. Which algorithm are you using for hashing?
4. What are the results with `SET hnsw.ef_search = 1000;`?