Qdrant Vector Database
Qdrant is an open-source vector database written in Rust, designed for vector similarity search and hybrid filtering of "vector plus structured conditions". It sits at the storage layer of RAG, recommendation and semantic search systems, and is an option in the vector retrieval field known for engineering quality, filtering capability and deployment friendliness.
Core principles
Qdrant organizes data into Collections; each Point consists of an id, a vector and a payload (metadata). The vector index is implemented with HNSW (Hierarchical Navigable Small World): it builds a multi-layer proximity graph, with sparse upper layers for fast jumps and dense lower layers for fine scanning, achieving logarithmic time complexity in nearest neighbor search. The key HNSW parameters are m (the number of neighbors per node) and ef_construct (the candidate width during graph construction), while at query time hnsw_ef balances recall and latency.
One of its distinctive features is filtered HNSW. The traditional approach does vector nearest neighbor search first and then filters by conditions; when conditions are strict, many results are discarded and recall collapses. Qdrant takes payload conditions into account while traversing the graph and, combined with payload indexes (keywords, integer ranges, geo location and so on), keeps retrieval efficient when you only want "a certain user, a certain time range, a certain tag". Filters support must, should and must_not combinations, and also support nested conditions on array fields.
Storage uses a segment structure: writes go to the WAL first and then to segments, and vector quantization (scalar, product and binary quantization) compresses memory usage. Besides dense vectors, retrieval also supports sparse vectors and multi-vectors (such as ColBERT-style token vectors), and results can be fused and ranked through the query API.
Key points
Core API concepts: upsert to write points, search and query to retrieve, scroll to page through, and create_payload_index to build metadata indexes. Distance metrics include Cosine, Dot, Euclid and Manhattan. Deployment forms include a single Docker node, a distributed cluster (with shards and replicas) and a fully managed cloud service. Clients cover Python, JavaScript/TypeScript, Rust, Go, Java and more.
Compared with Milvus, Qdrant is lighter, easier to start with, and stands out in single-node performance and filtering experience, which suits medium scale and quick deployment; Milvus is more mature at billion-scale and in the variety of index types. Compared with FAISS, Qdrant is a complete database with persistence, filtering, incremental updates and multi-tenancy built in, rather than a pure index library.
On retrieval quality, Qdrant positions itself not as simply "storing vectors" but as treating vector search as a database query: one interface does both semantic nearest neighbor search and structured condition pruning, and can also group and sort. This unity is extremely valuable in real business, because user needs are almost never just "find similar items" but "find the most similar candidates that meet the conditions within my permission scope".
Common misconceptions
A common misjudgment is to use a vector database as a search engine and ignore chunking strategy and embedding quality - even the best index cannot rescue bad splitting. Another misconception is to run highly selective filtering without building payload indexes, which leads to full scans. Some also blindly raise HNSW parameters to chase recall, and end up blowing up both memory and latency.
Another practical consideration is operations: the standalone version runs with a single Docker command, configuration is simple, and the snapshot and restore paths are clear, which is very friendly to small and medium teams. Its vector quantization also keeps memory costs under control and, given acceptable recall, can significantly raise the capacity of a single node. If scale grows later, the distributed form provides shards and replicas and the interface layer basically needs no rewrite; such smooth evolution matters a lot for early projects.
Application scenarios
RAG knowledge base retrieval, semantic search and autocomplete, cross-modal image-text matching, recommendation candidate recall, multi-tenant SaaS data isolation, anomaly and duplicate detection, and code similarity retrieval.