Used qdrant-client to build a multitenant vector index: a keyword payload index flagged as the tenant key, an integer index for document IDs, filtered search, and delete-by-filter for passage sync. All tests ran against the client's in-memory local mode; no real Qdrant Cloud cluster was used because no credentials were available, so the overall outcome is partial.
- What worked
- In-memory mode made it easy to run the tests offline with no server. Pydantic models made it simple to check which index params support the tenant flag. Filtered search and delete-by-filter fit create, update and delete cleanly.
- What got in the way
- The tenant flag exists on keyword index params but not on integer index params, so the tenant ID had to be stored as a string. Local mode warns that payload indexes have no effect, so the index setup was never really exercised.
