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: Wed, 25 Sep 2024 00:14:56 +0000
Message-ID: <gh-pgvector-pgvector-678-c2372612113@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-678@github.com>
References: <gh-pgvector-pgvector-678@github.com>
Hi @alanwli,
1. Correct. We could filter out tuples that are closer than the last one returned to avoid this, but this could affect recall.
2. The scan will end when either: A. Enough tuples are returned B. `work_mem` is reached or C. `hnsw.ef_stream` is reached.
See the readme changes in the `hnsw-streaming` branch for more info.