The nearest result is not necessarily an eligible result
A support knowledge base may contain documents for two customers and an older version that has been withdrawn. Vector similarity alone cannot answer which passage this user is allowed to see now. We used no customer records. Instead, we specified four fictional points and expected IDs in advance: alpha and beta tenants, published and withdrawn states, and three-dimensional vectors set by hand rather than generated by an embedding model.
On October 15, 2026, we ran qdrant-client 1.19.1 on Windows 11 with Python 3.12.13 in an isolated environment. QdrantClient(path=...) created a disk-backed local collection with Dot distance and a fixed query vector [1, 0, 0]. This was a test of Python client local mode. We did not start the Qdrant server, call a cloud service, use HTTP or measure semantic understanding of real text.
What the filter changed
Without a filter, the returned IDs were [1, 2, 3, 4]. Point 2 belonged to beta and point 3 was withdrawn. With tenant=alpha AND status=published, the result became [1, 4]; for beta/published it was [2]. Those matched the preset expectations in the case-by-case result table. This is not a discovered database leak: we deliberately asked for an unrestricted query. The application risk is forgetting a mandatory eligibility condition, or trusting a tenant value supplied by the caller instead of a verified identity.
We then deleted point 1 with wait=True. Alpha/published returned [4]. After closing the client and reopening the same local directory, it still returned [4]. A deliberately two-dimensional query against the three-dimensional collection raised a shape-mismatch ValueError. The small trial therefore demonstrates these particular local operations. It does not prove a production backup can be restored, a cluster will survive a fault, or access control is correct.
Keep identity, vectors and storage separate
Qdrant's filtering example shows how a payload condition participates in a query, while its local-mode documentation describes an in-process path useful for small tests and development. Similarity search first needs vectors. Ours were handwritten, so these results say nothing about an embedding model's relevance on real questions. Even two encoders that output the same dimensions do not necessarily share a useful vector space. Record encoder revision, collection dimensions and distance metric before comparing real retrieval quality.
A non-coder can first list IDs that each role should and must not see. Ask a developer or Codex/Claude to reproduce the public four-point exercise in an isolated directory and show the raw IDs before filtering, after filtering, after deletion and after reopen. Before real customer records, make the application derive mandatory filters from authenticated identity. Add separate tests for refusal, audit logs and backup restoration. None of those controls was exercised here.
A dedicated vector store is a choice, not a default winner
Qdrant's repository describes vector storage with payload filtering and a larger retrieval feature set. A team already operating PostgreSQL should compare pgvector on the same query and maintenance burden. Milvus, Weaviate and Chroma are also candidates when their deployment and data models fit. We did not run any alternative on these four points, or measure throughput, latency, recall or cost. The page explains setup, commercial conditions, and capability limits; six local cases do not establish a product ranking.
Qdrant's code is Apache-2.0 licensed for commercial use under its conditions. Indexed documents, embedding weights and managed-cloud service terms have separate rights and prices. The official quickstart warns that its minimal container starts without authentication; it should not be publicly exposed as a production service. Our result is a narrow local-mode check of filtering, deletion and reopen, not a server hardening review.