From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #682: Update HNSW cost estimatation to utilize search and index info
Date: Wed, 25 Sep 2024 18:59:38 +0000
Message-ID: <gh-pgvector-pgvector-682-rc1775796334@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-682-rc1775769446@github.com>
References: <gh-pgvector-pgvector-682@github.com>
<gh-pgvector-pgvector-682-rc1775769446@github.com>
(on src/hnsw.c)
@ankane I'm less opinionated on the name; I did try to force `tuples` to 0, but in that case PostgreSQL won't consider the scan. I think in the case where `tuples` is 0, we should max out the costs like we do if there's no ORDER BY quals.