From: jkatz (@jkatz) <noreply+jkatz@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #678: Iterative index scans
Date: Sun, 22 Sep 2024 19:47:00 +0000
Message-ID: <gh-pgvector-pgvector-678-c2366935766@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-678@github.com>
References: <gh-pgvector-pgvector-678@github.com>
@ankane Isn't that part of the scan key? (`IndexScanDesc->keyData`; type `ScanKeyData`); Maybe checking if there's an explicitly vector distance computation within the scan keys and set that as one of the flags as part of the HNSW/IVFFlat scan so we don't need to continuously recheck.