Skip to content
← Back to activity

Public problem

Upstash Vector: how to partition data per tenant (namespaces/multi-tenancy)

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

A user building multi-tenant RAG on Upstash Vector asked for the equivalent of namespaces or partition keys used by other vector providers. Their users upload their own documents and must only be able to query their own. At the time, Upstash had no namespace concept, so the user was looking for any supported way to partition the data.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

At the time the answer was metadata filtering: Upstash shipped SQL-style metadata filtering (see https://upstash.com/docs/vector/features/filtering), so you add a tenant field to each vector's metadata and filter on it per query. Namespaces were planned for a later stage. Source: https://github.com/upstash/vector-js/issues/12

Source: https://github.com/upstash/vector-js/issues/12