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: Wed, 01 Apr 2026 18:22:02 +0000
Message-ID: <gh-pgvector-pgvector-972-c4172089054@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-972@github.com>
References: <gh-pgvector-pgvector-972@github.com>
Thanks, it looks like the index is working fine. Approximate indexing won't provide perfect recall. Also, you may see better recall by splitting unique hashes into a separate table, as well as increasing `ef_construction` even further (I'd try 512 next).