pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
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.

view thread (5+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-645-c2295376804@github.com>
Permalink:  ../gh-pgvector-pgvector-645-c2295376804@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox