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

It will solve the problem if
1. You can  create partition for each category (this number can be very large)
2. There are no queries involving multiple partitions, i.e. `select * from document where category = in (1.2.3) order by embedding <-> ...`

view thread (90+ messages)  latest in thread

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