Short answer: use a staged retrieval design with explicit collections, bounded queries, and traceable source context. For an edtech recruiting bot, keep tenant and access-control metadata on every indexed item, then make the answer service prove which documents it used. Start with the least complex architecture that preserves those invariants.
Architecture Pick this when Invariants to enforce Main trade-off
Shared index, tenant-filtered retrieval Tenants share schema and an operations team can enforce filters centrally Tenant ID and ACL are mandatory filters; every result carries a source ID One missed filter is a serious isolation incident
Collection per tenant A few high-value tenants need separate lifecycle, keys, or deletion controls Collection identity is resolved from authenticated tenant context; no user-supplied override More collections and migrations to operate
How should tenant isolation shape recruiting candidate search architecture?
Treat retrieval as a contract, not a similarity function.…