Skip to main content
A collection is the fundamental organizational unit in Qdrant. It serves as a named container for storing points (vectors with associated payloads) that share the same vector configuration.

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
Think of a collection as a table in a traditional database, but optimized for vector similarity search.

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)
Most modern embedding models (OpenAI, Cohere, etc.) are optimized for cosine similarity.

Vector Storage Types

Control where vectors are stored for optimal performance:
Storing vectors on disk reduces memory usage but may increase search latency for cold requests.

Collection Management

Creating a Collection

Getting Collection Info

Deleting a Collection

Deleting a collection permanently removes all points and cannot be undone.

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:
Multivectors are useful for ColBERT-style search where documents are split into multiple token-level embeddings.

Best Practices

Always use the distance metric your embedding model was trained with. Most models use cosine similarity.
For large collections (>1M vectors), consider using on-disk storage and quantization to reduce memory usage.
When working with multiple data types (text, images, audio), use named vectors to keep embeddings organized.
Regularly check collection status to ensure optimizations are running and no errors have occurred.

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