From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #912: Question about hnsw result set size
Date: Thu, 16 Oct 2025 20:57:49 +0000
Message-ID: <gh-pgvector-pgvector-912-c3412815446@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-912@github.com>
References: <gh-pgvector-pgvector-912@github.com>
Hi @chmaurer, I'd expect an IVFFlat index to always return 25k rows with those settings (even without iterative scanning).
1. What's the output of `EXPLAIN (ANALYZE)`?
2. Does recreating the index fix it?