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: Wed, 25 Oct 2023 12:39:27 +0000
Message-ID: <gh-pgvector-pgvector-259-c1779184736@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-259@github.com>
References: <gh-pgvector-pgvector-259@github.com>

@Palmik

> Partial index on all possible categories is also unfortunately not feasible

I have similar requirements, whereby search needs to be conducted only on documents belonging to a particular user. Why might it not be feasible to automatically create an index whenever a new user joins (or a new category is created in your case)?

In my own case, the difficulty is that users can share documents, so I have a separate table for storing documents and a separate table for storing ownership information, i.e. `(<user id>,<document id>)` pairs.

view thread (90+ messages)  latest in thread

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