From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #760: HNSW Index Not Used When Combining ORDER BY Distance with Deduplication
Date: Sat, 18 Jan 2025 09:29:43 +0000
Message-ID: <gh-pgvector-pgvector-760-c2599645687@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-760@github.com>
References: <gh-pgvector-pgvector-760@github.com>
Hi @WalidMustapha, an HNSW index won't help this query (it needs to scan all rows that match the `WHERE` condition).