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: Sat, 28 Sep 2024 19:48:31 +0000
Message-ID: <gh-pgvector-pgvector-678-c2380877893@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-678@github.com>
References: <gh-pgvector-pgvector-678@github.com>
One idea is to allow users to select the mode:
```tsql
SET hnsw.iterative_search = off; -- default for 0.8.0
SET hnsw.iterative_search = on; -- strict, default for future version
SET hnsw.iterative_search = relaxed;
```
However, I think the distance filter issue mentioned in the first post may make it unfeasible to have either mode of iterative search as the default, as users currently need to change how they write queries to avoid it.