From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #678: Iterative index scans
Date: Fri, 27 Sep 2024 17:55:15 +0000
Message-ID: <gh-pgvector-pgvector-678-c2379787742@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-678@github.com>
References: <gh-pgvector-pgvector-678@github.com>
This is true from the user's perspective :) It'd be great if we could do something similar, but the recheck code in Postgres requires strict ordering.
Edit: Going to try returning -INFINITY for the recheck value for every tuple to see what happens
Edit 2: It looks like the executor continues calling `getamtuple` after it has enough tuples (since it needs to get all of the tuples with the same distance)