From: alanwli (@alanwli) <noreply+alanwli@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #678: Iterative index scans
Date: Tue, 24 Sep 2024 22:38:33 +0000
Message-ID: <gh-pgvector-pgvector-678-c2372509536@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-678@github.com>
References: <gh-pgvector-pgvector-678@github.com>
@ankane, just a couple thoughts off the top of my head:
1. You allude to this re: "Minimizing out of order elements", this would break SQL semantics of returning out-of-order items with ORDER BY ... LIMIT.
2. What is the impact on the long-tail cases - e.g. worse case scenario of reaching deeper in the index, but all tuples are just either not visible or doesn't pass the predicate filter. How deep will it reach?