What is a Collection?
A collection defines:- Vector configuration: Dimensionality, distance metrics, and storage settings
- Indexing strategy: How vectors are indexed for efficient search
- Payload schema: Structure and indexes for associated metadata
- Optimization settings: How the collection is optimized over time
Vector Configuration
Each collection must specify its vector configuration. Qdrant supports multiple vector types within a single collection.Single Vector Configuration
For collections with one vector per point:Named Vectors Configuration
For collections with multiple vectors per point:Named vectors allow you to store different types of embeddings for the same point, such as image and text embeddings for multimodal search.
Distance Metrics Configuration
Qdrant supports multiple distance metrics. The choice depends on your embedding model and use case:- Cosine: Normalized similarity, values from -1 to 1 (higher is better)
- Euclidean: L2 distance, values from 0 to ∞ (lower is better)
- Dot Product: Raw dot product, unbounded (higher is better)
- Manhattan: L1 distance, values from 0 to ∞ (lower is better)
Vector Storage Types
Control where vectors are stored for optimal performance:Collection Management
Creating a Collection
Getting Collection Info
Deleting a Collection
Collection Status
- Green: Collection is fully operational
- Yellow: Collection is being optimized but available
- Grey: Optimization is possible but not started
- Red: Some operations failed and need recovery
Sparse Vectors
Collections can also store sparse vectors for keyword-based or BM25-style search:Sparse vectors are ideal for hybrid search combining semantic and keyword matching.
Multivector Support
For advanced use cases, store multiple vectors per point:Best Practices
Choose the right distance metric
Choose the right distance metric
Always use the distance metric your embedding model was trained with. Most models use cosine similarity.
Plan for scale
Plan for scale
For large collections (>1M vectors), consider using on-disk storage and quantization to reduce memory usage.
Use named vectors for multimodal data
Use named vectors for multimodal data
When working with multiple data types (text, images, audio), use named vectors to keep embeddings organized.
Monitor collection status
Monitor collection status
Regularly check collection status to ensure optimizations are running and no errors have occurred.
Related Concepts
Points
Learn about points - the individual records stored in collections
Vectors
Understand vector types and configurations
Indexing
Explore indexing strategies for fast search
Distance Metrics
Deep dive into distance metrics and when to use each