qdrant  by qdrant

Vector database for similarity search in AI applications

created 5 years ago
25,015 stars

Top 1.6% on sourcepulse

GitHubView on GitHub
Project Summary

Qdrant is a high-performance, production-ready vector database and search engine designed for AI applications requiring efficient storage, search, and management of vector embeddings. It targets developers building applications for semantic search, recommendation systems, anomaly detection, and more, offering a fast and reliable solution written in Rust with extensive filtering capabilities.

How It Works

Qdrant leverages Rust for speed and reliability, providing a service that stores vectors alongside arbitrary JSON payloads. It supports advanced filtering on these payloads, enabling complex business logic integration with similarity search. The engine also offers hybrid search with sparse vectors (generalizing BM25/TF-IDF) and dense vectors, alongside vector quantization for reduced memory footprint and distributed deployment via sharding and replication for horizontal scaling.

Quick Start & Requirements

  • Local Development: pip install qdrant-client for in-memory or disk-based local instances.
  • Client-Server: docker run -p 6333:6333 qdrant/qdrant to run a server instance.
  • Prerequisites: Docker for server deployment.
  • Resources: No specific hardware requirements mentioned for basic local use, but performance scales with resources.
  • Links: Quick Start Guide, Client Libraries, Demo Projects

Highlighted Details

  • Supports advanced filtering on JSON payloads with combined must, should, must_not clauses.
  • Offers hybrid search combining dense and sparse vectors (e.g., BM25/TF-IDF).
  • Features vector quantization for up to 97% RAM reduction.
  • Provides distributed deployment with sharding, replication, and zero-downtime updates.
  • Utilizes Query Planning, SIMD, Async I/O (io_uring), and Write-Ahead Logging for performance and reliability.

Maintenance & Community

  • Active development with official client libraries for Go, Rust, JS/TS, Python, .NET/C#, and Java.
  • Integrations with popular AI/ML frameworks like LangChain, LlamaIndex, Haystack, and Microsoft Semantic Kernel.
  • Community support via Discord and Twitter (@qdrant_engine).
  • Managed cloud offering available.

Licensing & Compatibility

  • Licensed under the Apache License, Version 2.0.
  • Permissive license suitable for commercial use and integration into closed-source applications.

Limitations & Caveats

The README does not detail specific limitations, performance benchmarks, or known issues. Production deployment guidance is available in separate security and installation guides.

Health Check
Last commit

20 hours ago

Responsiveness

1 day

Pull Requests (30d)
139
Issues (30d)
42
Star History
1,835 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.