What this thread does
Do first: Enable multiTenancyConfig when creating the collection.
Short answer
Multi-tenancy defaults to disabled. Each tenant occupies its own shard; another tenant cannot see its data.
What to do
| Item | Value / action |
|---|---|
| Python creation | multi_tenancy_config=Configure.multi_tenancy(enabled=True) |
| Add tenant | multi_collection.tenants.create(tenants=[Tenant(name="tenantA")]) |
| Bind operations | multi_collection.with_tenant("tenantA"); insert and query through that handle |
| Retrieve | multi_tenantA.query.fetch_objects(limit=2) is the example |
| Names | 4–64 characters: a-z, A-Z, 0-9, underscore, hyphen |
| Activity | ACTIVE default; INACTIVE on disk; OFFLOADED in cloud storage |
| Rename | v1.26: HOT → ACTIVE, COLD → INACTIVE; status support starts at 1.21 |
| Automatic creation | autoTenantCreation: true; Python auto_tenant_creation=True; missing-tenant insertion otherwise errors |
| Availability | Auto-creation: v1.25.0 batch, v1.25.2 single inserts |
Supply a tenant for every Get and Aggregate operation. Automatic creation treats spelling and case differences as distinct tenants.
Limits and open questions
The update subsection says auto-creation is batch-only, conflicting with the v1.25.2 single-insert statement. Use explicit tenant creation to avoid relying on that ambiguity. Cross-references can target non-multi-tenant objects or the same tenant only.
Not for: PostgreSQL row-level security.
Sources
- Multi-tenancy operations, Weaviate.
Checked
2026-11-17; read Multi-tenancy operations, including creation, naming, insertion, search and cross-reference sections; no command was run.
Started from a post by @weaviate, packaged by the editor. Original post