• Stars
    star
    29,817
  • Rank 604 (Top 0.02 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created about 5 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A cloud-native vector database, storage for next generation AI applications

milvus banner

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, you’re 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.18
    cmake: >= 3.18
    gcc: 7.5

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

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

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

    go: >= 1.18 (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

    Image 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.

    Chemical Structure Search

    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 Slack to share your suggestions, advice, and questions with our engineering team.

    Milvus Slack Channel

    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.

    More Repositories

    1

    bootcamp

    Dealing with all unstructured data, such as reverse image search, audio search, molecular search, video analysis, question and answer systems, NLP, etc.
    HTML
    1,827
    star
    2

    pymilvus

    Python SDK for Milvus.
    Python
    993
    star
    3

    milvus-sdk-java

    Java SDK for Milvus.
    Java
    384
    star
    4

    milvus-sdk-go

    Go SDK for Milvus.
    Go
    338
    star
    5

    milvus-lite

    A lightweight version of Milvus
    Python
    274
    star
    6

    knowhere

    Knowhere is an open-source vector search engine, integrating FAISS, HNSW, etc.
    C++
    201
    star
    7

    milvus-sdk-node

    The Official Mivus node.js sdk(client)
    TypeScript
    123
    star
    8

    web-content

    Milvus web documents and contents
    MDX
    120
    star
    9

    milvus-insight

    Milvus management GUI
    TypeScript
    90
    star
    10

    milvus-sdk-csharp

    C# SDK for Milvus.
    C#
    88
    star
    11

    milvus-helm

    The helm chart to deploy Milvus
    Mustache
    78
    star
    12

    milvus-docs

    This repository is for Milvus technical documentation update and maintenance. Visit Milvus.io for fully rendered technical documents.
    Python
    72
    star
    13

    milvus-tools

    A data migration tool for Milvus.
    Python
    69
    star
    14

    milvus-operator

    milvus-operator
    Go
    61
    star
    15

    milvus-sdk-rust

    Rust SDK for Milvus.
    Rust
    58
    star
    16

    birdwatcher

    Go
    44
    star
    17

    milvus.io

    Milvus official website.
    TypeScript
    43
    star
    18

    milvus-sdk-cpp

    C++ SDK for Milvus 2.0
    C++
    36
    star
    19

    milvus_cli

    Milvus Command Line
    Python
    33
    star
    20

    community

    Where community members can share ideas, collaborate and learn from each other.
    32
    star
    21

    milvus-proto

    Share Milvus proto files between Milvus repository and SDK repositories
    Shell
    24
    star
    22

    pymilvus-orm

    Python
    20
    star
    23

    milvus-model

    The embedding/reranking model zoo help user to convert their unstructured data into embeddings
    Python
    19
    star
    24

    milvus-storage

    Milvus file storage format repo
    C++
    19
    star
    25

    milvus-tutorials

    milvus tutorials
    19
    star
    26

    milvus-haystack

    Python
    8
    star
    27

    milvus-demo-chat-bot

    TypeScript
    7
    star
    28

    milvus-demo-image-search

    JavaScript
    7
    star
    29

    milvusctl

    Go
    5
    star
    30

    hero-bot

    extract heros (contributor) from repo
    JavaScript
    5
    star
    31

    homebrew-milvus

    homebrew for milvus ecosystem
    Ruby
    2
    star
    32

    conanfiles

    Conanfiles for managing third-party packages that Milvus depends on
    Python
    2
    star
    33

    provider-milvus

    milvus provider for crossplane
    Go
    2
    star
    34

    milvus-demo-movie-taste

    JavaScript
    2
    star
    35

    milvus-demo-video-search

    JavaScript
    2
    star
    36

    milvus-rpm

    Build rpm package for milvus
    Shell
    1
    star
    37

    milvus-deb

    Shell
    1
    star
    38

    pymilvus-assets

    Large models, etc. for pymilvus
    1
    star