From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #916: Unintuitive Query Latency When Filtering
Date: Tue, 04 Nov 2025 19:06:09 +0000
Message-ID: <gh-pgvector-pgvector-916-c3487618730@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-916@github.com>
References: <gh-pgvector-pgvector-916@github.com>
You can add `+ 0` to the `ORDER BY` clause to avoid an index scan (or use the [pg_hint_plan extension](https://github.com/ossc-db/pg_hint_plan)).