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 #648: Custom scoring with HNSW index
Date: Mon, 19 Aug 2024 18:00:53 +0000
Message-ID: <gh-pgvector-pgvector-648-c2297132587@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-648@github.com>
References: <gh-pgvector-pgvector-648@github.com>

Hi @fede-bello, I think the subquery approach above will be the most efficient, but the merging approach could provide better recall (I'd recommend measuring it for both). Also, the merging approach should be fast if properly indexed and can be parallelized.

Finally, I'd recommend seeing if `m = 16` works for your data, as `m` has a large impact on search time.

view thread (5+ messages)  latest in thread

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