pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: mgoldenbe (@mgoldenbe) <noreply+mgoldenbe@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #259: Understanding HNSW + filtering
Date: Sat, 28 Oct 2023 17:08:13 +0000
Message-ID: <gh-pgvector-pgvector-259-c1783872804@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>

@jkatz 

You did not mention [table partitioning](https://github.com/pgvector/pgvector#filtering) in your answer here. If I understand correctly, if the table uses *list partitioning* on the `category_id` column, then the condition `WHERE category_id = 3` will cause it to only consult the HNSW index for that partition. Doesn't this completely solve the problem? 

view thread (90+ messages)  latest in thread

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