pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: pashkinelfe (@pashkinelfe) <noreply+pashkinelfe@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Tue, 12 Sep 2023 18:47:07 +0000
Message-ID: <gh-pgvector-pgvector-259-c1716245776@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>

@jkatz It's an interesting idea! Though there is one thing that I don't quite catch: how to combine "nearness" in two different spaces. Furthermore, nearness in embedding HNSW component is inexact, but a  link lost (or unfollowed at scan)between `category_id` makes everything inexact. I'm not sure it's completely unacceptable but can introduce some behavior that is not expected under "filtering by other column" term.

It needs further thought I suppose, it seems hard to implement combined btree+hnsw in one index. Filtering by included column seems much clearer.

view thread (90+ messages)  latest in thread

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