From: rsomani95 (@rsomani95) <noreply+rsomani95@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #721: HNSW index bypassed when LIMIT or filter selectivity exceeds threshold
Date: Wed, 04 Dec 2024 18:12:50 +0000
Message-ID: <gh-pgvector-pgvector-721-c2518188362@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-721@github.com>
References: <gh-pgvector-pgvector-721@github.com>
@ankane thanks. I had tried `random_page_cost=1.1` but that didn't help either.
I forgot to mention but I'd also set `enable_seqscan=off` globally when trying this.
the hint plan looks worth a shot - I'll try it out and report back if it helps.