From: knizhnik (@knizhnik) <noreply+knizhnik@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] PR #282: Hnsw iterator
Date: Mon, 02 Oct 2023 14:40:09 +0000
Message-ID: <gh-pgvector-pgvector-282-c1743147210@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-282@github.com>
References: <gh-pgvector-pgvector-282@github.com>
To address problem with order violation I have added `hnsw.strict_order` GUC.
When set, it just skips results which violates distance ascending order.
So will will get not all results, but order is not violated and no query execution can cause error.
By default it is switched off, because I see that cases where query order is important are quite exotic.