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: Sun, 29 Mar 2026 14:44:56 +0000
Message-ID: <gh-pgvector-pgvector-972-c4150298708@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-972@github.com>
References: <gh-pgvector-pgvector-972@github.com>
Hi @spyderdfx, it looks like you're calculating distance with a different column in the second example (`mh_hash_vector_binary` instead of `vector_binary`).