Qdrant is a high-performance, open-source vector database written in Rust, designed to store, index, and search high-dimensional embedding vectors at scale. It sits at the heart of modern Retrieval-Augmented Generation (RAG) pipelines, semantic search, and recommendation systems, providing both a REST and a gRPC API with official clients for Python, TypeScript, Go, Rust, Java, and .NET. The core mental model to internalize before reading these tables is that every searchable object in Qdrant is a "Point" β a vector plus an optional JSON payload β grouped into a "Collection", and virtually every performance and accuracy trade-off (quantization, HNSW tuning, sharding, on-disk storage) ultimately reduces to how those points are stored and indexed within a collection.
What This Cheat Sheet Covers
This topic spans 17 focused tables and 165 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
Table 1: Core Data Model β Collections, Points, and Payloads
The three fundamental primitives β Collection, Point, and Payload β form the entire data model. Understanding what lives where determines how you design schemas, choose indexing strategies, and write queries.
| Concept | Example | Description |
|---|---|---|
client.create_collection("products", vectors_config=VectorParams(size=768, distance=Distance.COSINE)) | Named set of points all sharing the same vector dimensionality and distance metric; the primary organizational unit in Qdrant. | |
PointStruct(id=1, vector=[0.1, 0.9, ...], payload={"name": "shirt"}) | The atomic record: a vector plus an optional JSON payload; identified by a 64-bit unsigned integer or UUID. | |
{"price": 29.99, "category": "apparel", "in_stock": true} | Arbitrary JSON metadata attached to a point; supports keyword, integer, float, bool, geo, datetime, and uuid types for filtering. | |
vectors={"image": [0.1, ...], "text": [0.8, ...]} | Multiple vectors of different sizes and modalities coexisting in one point, each with an independent distance metric and index config. |