pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: branaway (@branaway) <noreply+branaway@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #623: Multi-vector search
Date: Mon, 15 Jul 2024 23:29:37 +0000
Message-ID: <gh-pgvector-pgvector-623-c2229615127@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-623@github.com>
References: <gh-pgvector-pgvector-623@github.com>

> Hi @branaway, you can order by multiple vectors with:
> 
> ```sql
> ... ORDER BY (embedding <-> '[1,2,3]') + (other_embedding <-> '[4,5,6]') ...
> ```
> 
> However, it won't be able to use an index.

Thank for the reply @ankane . What the consequence then for not using an index? Does it fall back to brute force?



view thread (13+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-623-c2229615127@github.com>
Permalink:  ../gh-pgvector-pgvector-623-c2229615127@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