From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #282: Hnsw iterator
Date: Mon, 30 Oct 2023 03:35:42 +0000
Message-ID: <gh-pgvector-pgvector-282-c1784422803@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-282@github.com>
References: <gh-pgvector-pgvector-282@github.com>
Hi @knizhnik, thanks for the PR. It's an interesting approach, but want to explore potentially more efficient methods like [HQANN](https://arxiv.org/abs/2207.07940) for filtered search.
For returning results out-of-order: It's definitely not ideal, but will likely happen with scalar/product quantization as well (and will likely cause confusion since it's not intuitive). Ideally Postgres would have an option to re-rank results from the heap (that access methods / index scans could set), but as far as I know, there's not a way to currently do this.