Go to file
2024-01-25 10:09:02 +08:00
.github enhance: [skip e2e]Revert changes from pr 29890 (#29957) 2024-01-22 10:00:55 +08:00
build enhance: [skip e2e]to add some comments (#29440) 2023-12-25 10:28:47 +08:00
ci/jenkins enhance: [skip e2e]increase timeout for building gpu image (#30238) 2024-01-24 15:35:13 +08:00
cmd feat: support etcd authentication (#30226) 2024-01-24 11:35:00 +08:00
configs feat: support general capacity restrict for cloud-side resoure contro… (#29845) 2024-01-16 16:32:53 +08:00
deployments enhance: Support azurite docker for develope env (#29021) 2023-12-31 17:16:43 +08:00
docs fix some typos (#27851) 2023-10-24 09:30:10 +08:00
githooks [skip ci]Update OWNERS files (#11898) 2021-11-16 15:41:11 +08:00
internal enhance: optimize marisa trie range search for performance (#30079) 2024-01-25 10:07:00 +08:00
pkg feat: support etcd authentication (#30226) 2024-01-24 11:35:00 +08:00
scripts enhance: make integration test case timeout configurable (#30073) 2024-01-18 12:22:54 +08:00
tests enhance: [skip e2e] fix integration block UT 30 minutes after failed and use merr (#30125) 2024-01-25 10:09:02 +08:00
tools upgrade Go 1.18 in go.mod (#18165) 2022-08-01 14:28:33 +08:00
.clang-format Re-format cpp code (#22513) 2023-03-02 15:55:49 +08:00
.clang-tidy Fix spawn too many threads (#26293) 2023-08-11 18:29:29 +08:00
.clang-tidy-ignore Add cpplint and optimize the check of c++ code 2020-11-23 19:57:05 +08:00
.contributors [skip ci]Update all-contributors (#6358) 2021-07-08 12:03:08 +08:00
.devcontainer.json Update main.yaml for Github Action (#6381) 2021-07-09 11:59:09 +08:00
.dockerignore Add dockerignore for building milvus image (#28102) 2023-11-03 14:28:17 +08:00
.env enhance: [skip e2e]to add some comments (#29440) 2023-12-25 10:28:47 +08:00
.gitignore enhance: ignore proto generated files (#28537) 2023-11-22 10:20:22 +08:00
.golangci.yml enhance: enhance the accuracy of memory usage (#28554) 2023-11-23 15:12:23 +08:00
.pre-commit-config.yaml [skip e2e]Set resource for indexnode in chaos test (#27011) 2023-09-12 10:59:18 +08:00
CODE_OF_CONDUCT.md [skip ci]Format markdown doc for CODE_OF_CONDUCT.md (#10042) 2021-10-17 16:44:40 +08:00
CODE_REVIEW.md [skip e2e]Fix a grammar issue (#15086) 2022-01-10 22:30:23 +08:00
codecov.yml Refactor task scheduler and executor (#20828) 2022-11-30 13:57:15 +08:00
COMMAND_HELP.md Update docs for run-cpu-e2e (#18520) 2022-08-03 17:04:36 +08:00
COMMITTERS Update COMMITTERS 2023-02-15 16:11:11 +08:00
CONTRIBUTING.md Update CONTRIBUTING.md for mockery generation (#26842) 2023-09-05 14:11:54 +08:00
DEVELOPMENT.md Upgrade go to 1.20 (#24390) 2023-11-10 07:46:18 +08:00
docker-compose.yml enhance: [skip e2e]upgrade minio version (#28971) 2023-12-05 14:14:34 +08:00
go.mod feat: Support tencent cloud object storage for milvus (#30163) 2024-01-23 11:28:56 +08:00
go.sum enhance: support related privilege for grant api (#30153) 2024-01-23 15:56:54 +08:00
LICENSE Update README 2021-04-21 14:04:22 +08:00
MAINTAINERS Update maintainers list 2023-02-15 16:07:41 +08:00
Makefile enhance: add MockSerializer generation command into Makefile (#29713) 2024-01-05 21:42:47 +08:00
milvus20vs1x.md docs: update table, show feat status with badge (#19624) (#19624) 2022-10-08 13:52:57 +08:00
OWNERS [skip ci]Add GitHub label for compilation changes (#12894) 2021-12-07 19:37:04 +08:00
OWNERS_ALIASES [skip e2e] Update OWNERS_ALIASES for approve label (#22223) 2023-02-16 16:38:35 +08:00
README_CN.md Update all contributors 2024-01-23 00:01:33 +00:00
README.md Update all contributors 2024-01-23 00:01:33 +00:00
rules.go Format the code (#27275) 2023-09-21 09:45:27 +08:00

milvus banner
license license docker-pull-count

What is Milvus?

milvus-logo

Milvus is an open-source vector database built to power embedding similarity search and AI applications. Milvus makes unstructured data search more accessible, and provides a consistent user experience regardless of the deployment environment.

Milvus 2.0 is a cloud-native vector database with storage and computation separated by design. All components in this refactored version of Milvus are stateless to enhance elasticity and flexibility. For more architecture details, see Milvus Architecture Overview.

Milvus was released under the open-source Apache License 2.0 in October 2019. It is currently a graduate project under LF AI & Data Foundation.

Key features

Millisecond search on trillion vector datasets Average latency measured in milliseconds on trillion vector datasets.
Simplified unstructured data management
  • Rich APIs designed for data science workflows.
  • Consistent user experience across laptop, local cluster, and cloud.
  • Embed real-time search and analytics into virtually any application.
  • Reliable, always on vector database Milvus built-in replication and failover/failback features ensure data and applications can maintain business continuity in the event of a disruption.
    Highly scalable and elastic Component-level scalability makes it possible to scale up and down on demand. Milvus can autoscale at a component level according to the load type, making resource scheduling much more efficient.
    Hybrid search In addition to vectors, Milvus supports data types such as Boolean, integers, floating-point numbers, and more. A collection in Milvus can hold multiple fields for accommodating different data features or properties. Milvus pairs scalar filtering with powerful vector similarity search to offer a modern, flexible platform for analyzing unstructured data. Check https://github.com/milvus-io/milvus/wiki/Hybrid-Search for examples and boolean expression rules.
    Unified Lambda structure Milvus combines stream and batch processing for data storage to balance timeliness and efficiency. Its unified interface makes vector similarity search a breeze.
    Community supported, industry recognized With over 1,000 enterprise users, 9,000+ stars on GitHub, and an active open-source community, youre not alone when you use Milvus. As a graduate project under the LF AI & Data Foundation, Milvus has institutional support.

    Quick start

    Start with Zilliz Cloud

    Zilliz Cloud is a fully managed service on cloud and the simplest way to deploy LF AI Milvus®, See Zilliz Cloud Quick Start Guide and start your free trial.

    Install Milvus

    Build Milvus from source code

    Check the requirements first.

    Linux systems (Ubuntu 20.04 or later recommended):

    go: >= 1.20
    cmake: >= 3.18
    gcc: 7.5
    

    MacOS systems with x86_64 (Big Sur 11.5 or later recommended):

    go: >= 1.20
    cmake: >= 3.18
    llvm: >= 15
    

    MacOS systems with Apple Silicon (Monterey 12.0.1 or later recommended):

    go: >= 1.20 (Arch=ARM64)
    cmake: >= 3.18
    llvm: >= 15
    

    Clone Milvus repo and build.

    # Clone github repository.
    $ git clone https://github.com/milvus-io/milvus.git
    
    # Install third-party dependencies.
    $ cd milvus/
    $ ./scripts/install_deps.sh
    
    # Compile Milvus.
    $ make
    

    For the full story, see developer's documentation.

    Important

    The master branch is for the development of Milvus v2.0. On March 9th, 2021, we released Milvus v1.0, the first stable version of Milvus with long-term support. To use Milvus v1.0, switch to branch 1.0.

    Milvus 2.0 vs. 1.x: Cloud-native, distributed architecture, highly scalable, and more

    See Milvus 2.0 vs. 1.x for more information.

    Real world demos

    Image search Chatbots Chemical structure search

    Images made searchable. Instantaneously return the most similar images from a massive database.

    Chatbots

    Interactive digital customer service that saves users time and businesses money.

    Blazing fast similarity search, substructure search, or superstructure search for a specified molecule.

    Bootcamps

    Milvus bootcamp is designed to expose users to both the simplicity and depth of the vector database. Discover how to run benchmark tests as well as build similarity search applications spanning chatbots, recommendation systems, reverse image search, molecular search, and much more.

    Contributing

    Contributions to Milvus are welcome from everyone. See Guidelines for Contributing for details on submitting patches and the contribution workflow. See our community repository to learn about our governance and access more community resources.

    All contributors




    Documentation

    For guidance on installation, development, deployment, and administration, check out Milvus Docs. For technical milestones and enhancement proposals, check out milvus confluence

    SDK

    The implemented SDK and its API documentation are listed below:

    Attu

    Attu provides an intuitive and efficient GUI for Milvus.

    Community

    Join the Milvus community on Discord to share your suggestions, advice, and questions with our engineering team.

    You can also check out our FAQ page to discover solutions or answers to your issues or questions.

    Subscribe to Milvus mailing lists:

    Follow Milvus on social media:

    Reference

    Reference to cite when you use Milvus in a research paper:

    @inproceedings{2021milvus,
      title={Milvus: A Purpose-Built Vector Data Management System},
      author={Wang, Jianguo and Yi, Xiaomeng and Guo, Rentong and Jin, Hai and Xu, Peng and Li, Shengjun and Wang, Xiangyu and Guo, Xiangzhou and Li, Chengming and Xu, Xiaohai and others},
      booktitle={Proceedings of the 2021 International Conference on Management of Data},
      pages={2614--2627},
      year={2021}
    }
    
    @article{2022manu,
      title={Manu: a cloud native vector database management system},
      author={Guo, Rentong and Luan, Xiaofan and Xiang, Long and Yan, Xiao and Yi, Xiaomeng and Luo, Jigao and Cheng, Qianya and Xu, Weizhi and Luo, Jiarui and Liu, Frank and others},
      journal={Proceedings of the VLDB Endowment},
      volume={15},
      number={12},
      pages={3548--3561},
      year={2022},
      publisher={VLDB Endowment}
    }
    

    Acknowledgments

    Milvus adopts dependencies from the following:

    • Thanks to FAISS for the excellent search library.
    • Thanks to etcd for providing great open-source key-value store tools.
    • Thanks to Pulsar for its wonderful distributed pub-sub messaging system.
    • Thanks to RocksDB for the powerful storage engines.

    Milvus is adopted by following opensource project:

    • Towhee a flexible, application-oriented framework for computing embedding vectors over unstructured data.
    • Haystack an open source NLP framework that leverages Transformer models
    • Langchain Building applications with LLMs through composability
    • GPTCache a library for creating semantic cache to store responses from LLM queries.