Milvus
Free
Milvus is an open source vector database in the LF AI & Data ecosystem, positioned as a high-performance, scalable similarity search and vector retrieval infrastructure. It is suitable for undertaking scenarios such as RAG knowledge base, image/video retrieval, recommendation recall, and multi-modal retrieval. However, it is not responsible for document parsing, embedding generation or business permission orchestration. It needs to build a complete link with data processing, model services, and application layers.
Tool text
Core parameters and statistics
| Parameters | Current public information |
|---|---|
| Product positioning | Open source vector database and similarity search infrastructure |
| Main forms | Open source self-deployment, containerized deployment, cloud-native deployment, and commercial hosting forms are undertaken by the Zilliz ecosystem |
| Core scenarios | RAG knowledge base, multi-modal retrieval, recommendation recall, semantic search |
| Open Source License | Apache-2.0 |
| Official entrance | https://milvus.io/ |
| Main interface | SDK, REST/gRPC and other engineering access methods, please refer to the official document real-time page |
Positioning boundaries: The value of Milvus is to extract embedding retrieval from application code and become a scalable vector retrieval layer. It's not a document parser, nor an embedding model service; the team still has to handle PDF/OCR, chunking, permission filtering, model calling, and answer generation separately.
User and market recognition
Milvus' market recognition mainly comes from the open source ecological RAG engineering practice and Zilliz commercialization path. For teams that need to control their own retrieval infrastructure, the open source version can lower the threshold for experimentation; for production clusters, index construction, memory usage, query latency, and operation and maintenance complexity must be included in the evaluation.
| Dimensions | Focus of observation |
|---|---|
| Open source adoption | Rich GitHub, documentation, community tutorials, and cloud native deployment materials |
| Enterprise Adoption | For organizations with platform engineering or data engineering teams maintaining retrieval infrastructure |
| Ecological collaboration | Often combined with LangChain, LlamaIndex, embedding models and object storage/data lakes |
Real Adoption Threshold: Milvus is easy to access during the POC stage, but production implementation is not "complete upon building the database". Recall quality depends on a combination of embedding, chunking, metadata, rerank, and permission strategies, of which the database is just the retrieval execution layer.
Cost advantage
| Cost Hierarchy | Cost Structure |
|---|---|
| Individual/small team | Open source self-deployment can reduce software licensing costs, but you need to bear the cost of machine, storage and maintenance yourself |
| Developer/API | SDK access cost is low, the main cost comes from embedding generation, index construction and query resources |
| Enterprise/Private | Need to evaluate Kubernetes, storage, monitoring, backup, permission isolation and SLA maintenance costs |
Cost Advantage: The open source nature of Milvus is suitable for technical teams to conduct controllable pilots to avoid locking in hosting providers from the beginning. The real hidden costs lie in data updates, index reconstruction, hot and cold data tiering, and online query jitter management; these costs will not disappear because the database is open source.
Main functions
- Vector Similarity Retrieval: Used to convert embeddings of text, images, audio or videos into searchable indexes, suitable for semantic search and RAG recall.
- Indexing and filtering capabilities: Balance recall speed, recall rate and resource usage through different indexing strategies and metadata condition filtering.
- Distributed and cloud-native deployment: For large-scale collections, concurrent queries and elastic expansion scenarios, it is suitable for production systems to split the retrieval layer.
- Multi-language SDK access: It is convenient for developers to access vector retrieval in Python, Java, Go and other engineering stacks.
- Ecological integration: Can be combined with RAG framework, model service and data processing pipeline, without the need to plug retrieval logic into business applications.
Synergy: The core value of Milvus is not in a single query, but in combining embedding storage, index construction, filtering queries and expansion capabilities into a stable service. In the RAG project, Milvus solves "how to find similar fragments", but "whether the fragment is credible, has permission, and should enter the answer" is still controlled by upstream and downstream.
Model and version evolution
Milvus is not a basic large model. Version evolution is mainly reflected in database architecture, indexing capabilities, deployment methods and ecological integration. The public mainline can be summarized as evolving from stand-alone/early vector retrieval tools to vector databases for cloud native and distributed production scenarios.
| Stages | Focus of change |
|---|---|
| Early version | Basic ability to solve high-dimensional vector storage and similarity retrieval |
| 2.x Mainline | Strengthen cloud native, distributed architecture and more complete production deployment model |
| Current public status | Continuous improvements around RAG, AI Agents, multi-modal retrieval and enterprise retrieval infrastructure |
Version Judgment: Enterprise selection should not only look at the version number, but also verify whether the current target deployment form covers backup and recovery, monitoring and alarming, permission isolation, rolling upgrade and data migration. The version upgrade of the vector database will affect the index, storage format and query behavior, and grayscale verification is required for production.
Technical advantages
Mechanism to effect: Milvus handles high-dimensional similarity searches through specialized vector indexing and query execution layers, preventing teams from writing vector scanning logic in business databases or application services. The result is a retrieval layer that is easier to extend and easier to tune independently.
RAG Recall Governance: Milvus can combine metadata filtering, collection partitioning and index parameters to control the recall scope. For multi-tenant knowledge bases, teams still need to implement document-level permissions and auditing at the application layer, and database filtering should not be mistaken for full RBAC.
Deployment flexibility: Open source self-deployment makes data more controllable, but it also requires the team to have operation and maintenance capabilities. If platform engineering capabilities are lacking, a managed vector database or lightweight embedding library may be more suitable as an early solution.
How to use
The typical path is to first complete document parsing and embedding generation, then write vectors, text fragments and metadata to Milvus, and finally perform vector retrieval in the question and answer or search link and hand it over to LLM to generate answers.
from pymilvus import MilvusClient
client = MilvusClient(uri="http://localhost:19530")
client.create_collection(collection_name="docs", dimension=768)
Implementation steps: First use small-scale real corpus to verify chunking, embedding and recall quality, and then introduce rerank, metadata filtering and permission checking. Don't pour all documents into the production database at the beginning, otherwise rebuilding the index and looking back on quality issues will be painful later.
Product Pricing
The pricing model is subject to the official real-time page. Usually a freemium or subscription system is used, and basic functions can be used for free. Advanced functions or high-frequency use require paid subscriptions, and users are advised to evaluate the optimal solution based on actual usage.
Application scenarios
- Enterprise RAG Knowledge Base: Use vectors to search recall policies, contracts, product documents and work order fragments, focusing on verifying permission filtering and recall interpretability.
- Multi-modal retrieval: Convert pictures, video frames or audio clips into vectors and then perform similar searches, suitable for content platforms and material asset management.
- Recommendation recall layer: used for candidate set recall, and then handed over to the ranking model to process fine ranking.
- R&D knowledge search: Semantically retrieve code documents, design documents and issues to reduce keyword mismatch.
Not suitable for boundaries: If the data scale is small and the team only needs local prototypes, lightweight vector libraries are more worry-free; if the problem is mainly poor document parsing quality, parsing and chunking should be dealt with first instead of changing to vector databases first.
Applicable people
- AI Platform Team: Need to uniformly manage the vector retrieval infrastructure and be responsible for performance, cost and scalability.
- RAG Engineering Team: The recall layer needs to be separated from the application service to support multi-service reuse.
- Data Engineering Team: Need to handle large-scale embedding writes, updates, and index builds.
- Not suitable for people: small teams without operation and maintenance capabilities, business teams that only do one-time demos, teams whose main pain points are OCR/document parsing rather than the retrieval layer.
Summary and Outlook
It provides competitive solutions in its field, and its core value lies in lowering the threshold for AI use in this field.
Current limitations: Some advanced features require paid subscription, and the free version has function or usage restrictions; specific technical details and performance benchmarks have not yet been fully disclosed.
Related tools: perplexity, you-com
Comparison of competing products
| Comparison dimensions | Milvus | Competitor A | Competitor B |
|---|---|---|---|
| Core Differences | — | — | — |
| Price | — | — | — |
| Target Users | — | — | — |
Note: The above comparison is based on product public information, and actual differences are based on user experience.
Version Info
- Current Public Site State :Based on the current public content on the official website and documentation site, Milvus continues to provide capabilities around vector retrieval, cloud native deployment, index types, hybrid retrieval and scalable architecture; there is no official unified precise release date.
- Milvus 2.x :In the context of the public version, Milvus 2.x represents its mainline evolution towards cloud-native vector database architecture, focusing on storage, query, indexing and distributed component splitting to enhance scalability.
User Reviews