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?