Quick Start
This guide covers the most basic use-case: running Qdrant, creating a collection, inserting vectors with payloads, and performing vector search with filtering.For additional information, refer to the API documentation.
Run Qdrant with Docker
1
Pull the latest image
Download the latest Qdrant image from DockerHub:
2
Run the container
Start Qdrant with default configuration:
3
Verify Qdrant is running
Production Docker Setup
For a production-ready setup with persistent storage and custom configuration:Understanding the volume mounts
Understanding the volume mounts
/qdrant/storage- Where Qdrant persists all your data (mount as volume to prevent data loss)/qdrant/snapshots- Where Qdrant stores collection snapshots for backup/restore/qdrant/config/production.yaml- Custom configuration file (override values from the reference config)
For production deployments, set
service.api_key in your configuration file to enable authentication.Create a Collection
Collections are named sets of points (vectors with payloads) that share the same configuration. Create a collection with 4-dimensional vectors using Dot product metric:Verify Collection Creation
Check that your collection was created successfully:Insert Points
Points consist of a vector, unique ID, and optional payload. Let’s insert 6 points with city information:The
?wait=true parameter ensures the operation completes before returning. Without it, the operation is asynchronous.Understanding Payloads
- Point 1: Simple payload with single city value
- Points 2-4: Array payloads supporting multiple values
- Point 5: Different payload structure (demonstrates flexibility)
- Point 6: No payload (payloads are optional)
Search Vectors
Basic Search
Search for the top 3 most similar vectors:With Dot product distance, higher scores indicate greater similarity. The query completed in ~55 microseconds!
Search with Filtering
Now let’s search for vectors but only from points with “London” in their city payload:Filter Conditions
Qdrant supports powerful filtering with multiple conditions:Using Client Libraries
While the examples above use curl, it’s recommended to use official client libraries for production applications.Python Client
JavaScript/TypeScript Client
Local Development Options
For quick prototyping without Docker:Next Steps
Installation Guide
Explore production deployment options including Kubernetes and cloud
API Documentation
Complete REST API reference with all endpoints
Collections
Learn about collection configuration, vector types, and indexing
Filtering
Master advanced filtering with full-text search, geo-queries, and more
Additional Resources
- End-to-End Colab Notebook - Demo with SentenceBERT
- Step-by-Step Tutorial - Create your first neural network project
- Semantic Search Demo - Try it online
- Food Discovery Demo - Visual search example