From: ankane (@ankane) <noreply+ankane@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #645: What is the best way to find nearest-neighbor for N vectors (batch query)?
Date: Sun, 18 Aug 2024 20:11:54 +0000
Message-ID: <gh-pgvector-pgvector-645-c2295376804@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-645@github.com>
References: <gh-pgvector-pgvector-645@github.com>
Hi @matan-airis, I suspect parallelizing the queries will be the fastest approach in terms of wall time. You could try minimizing network requests by combining multiple queries with `UNION ALL`, but it probably won't make much of a difference for exact search over 1M vectors.