未验证 提交 33cc52a6 编写于 作者: L LocoRichard 提交者: GitHub

[skip ci] update readme (#5811)

Signed-off-by: NLocoRichard <lichen.wang@zilliz.com>
上级 c440b9e8
<center>
<img src="https://zillizstorage.blob.core.windows.net/zilliz-assets/zilliz-assets/assets/readme_b829d6d8ed.png" alt="milvus banner">
</center>
<img src="https://zillizstorage.blob.core.windows.net/zilliz-assets/zilliz-assets/assets/readme_en_9f910915cf.png" alt="milvus banner">
<center>
<a href="https://join.slack.com/t/milvusio/shared_invite/zt-e0u4qu3k-bI2GDNys3ZqX1YCJ9OM~GQ">
<img src="https://img.shields.io/badge/Join-Slack-orange" />
</a>
<div class="column" align="middle">
<a href="https://join.slack.com/t/milvusio/shared_invite/zt-e0u4qu3k-bI2GDNys3ZqX1YCJ9OM~GQ">
<img src="https://img.shields.io/badge/Join-Slack-orange" /></a>
<img src="https://img.shields.io/github/license/milvus-io/milvus" />
<img src="https://img.shields.io/docker/pulls/milvusdb/milvus" />
</center>
</div>
<center>
<div class="column" align="middle">
<a href="https://internal.zilliz.com:18080/jenkins/job/milvus-ha-ci/job/master/badge/">
<img src="https://internal.zilliz.com:18080/jenkins/job/milvus-ha-ci/job/master/badge/icon" />
</a>
......@@ -30,88 +24,210 @@
<a href="https://app.codacy.com/gh/milvus-io/milvus?utm_source=github.com&utm_medium=referral&utm_content=milvus-io/milvus&utm_campaign=Badge_Grade_Dashboard">
<img src="https://api.codacy.com/project/badge/Grade/c4bb2ccfb51b47f99e43bfd1705edd95" />
</a>
</center>
</div>
<br />
## What is Milvus?
Milvus is an open-source vector database built to power AI applications and embedding similarity search. Milvus makes unstructured data search more accessible, and provides a consistent user experience regardless of the deployment environment.
Both Milvus Standalone and Milvus Cluster are available.
Milvus was released under the [open-source Apache License 2.0](https://github.com/milvus-io/milvus/blob/master/LICENSE) in October 2019. It is currently a graduate project under [LF AI & Data Foundation](https://lfaidata.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. By complementing scalar filtering to vector similarity search, Milvus makes modern search much more flexible than ever.
### 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, 6,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.
> **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](https://github.com/milvus-io/milvus/tree/1.0).
## Installation
### Install Milvus Standalone
Install with Docker-Compose
```
$ cd milvus/deployments/docker/standalone
$ sudo docker-compose up -d
```
Install with Helm
```
$ helm install -n milvus --set image.all.repository=registry.zilliz.com/milvus/milvus --set image.all.tag=master-latest milvus milvus-helm-charts/charts/milvus-ha
```
### Install Milvus Cluster
Install with Docker-Compose
```
$ cd milvus/deployments/docker/distributed
$ sudo docker-compose up -d
```
Install with Helm
```
$ helm install -n milvus --set image.all.repository=registry.zilliz.com/milvus/milvus --set image.all.tag=master-latest --set standalone.enabled=false milvus milvus-helm-charts/charts/milvus-ha
```
<details>
<summary>Click to take a quick look at our demos!</summary>
<table>
## Make Milvus
You can also build Milvus from source code.
### Prerequisites
Install the following before building Milvus from source code.
- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) for version control.
- [Golang](https://golang.org/doc/install) version 1.15 or higher and associated toolkits.
- [CMake](https://cmake.org/install/) version 3.14 or higher for compilation.
- [OpenBLAS](https://github.com/xianyi/OpenBLAS/wiki/Installation-Guide) (Basic Linear Algebra Subprograms) library version 0.3.9 or higher for matrix operations.
### Make Milvus Standalone
```
# Clone github repository
$ cd /home/$USER/
$ git clone https://github.com/milvus-io/milvus.git
# Install third-party dependencies
$ cd /home/$USER/milvus/
$ ./scripts/install_deps.sh
# Compile Milvus standalone
$ make standalone
```
### Make Milvus Cluster
```
# Clone github repository
$ cd /home/$USER
$ git clone https://github.com/milvus-io/milvus.git
# Install third-party dependencies
$ cd milvus
$ ./scripts/install_deps.sh
# Compile Milvus Cluster
$ make milvus
```
## Milvus 2.0 is better than Milvus 1.x
| | **Milvus 1.x** | **Milvus 2.0** |
| ------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| **Architecture** | Shared storage | Cloud native |
| **Scalability** | 1 - 32 read-only nodes with only one write node. | 500+ nodes |
| **Durability** | Local diskNetwork file system (NFS) | Object storage service (OSS)Distributed file system (DFS) |
| **Availability** | 99% | 99.9% |
| **Data consistency** | Eventual consistency | Three levels of consistency: StrongSessionConsistent prefix |
| **Data types supported** | Vectors | VectorsFixed-length scalars String and text (in planning) |
| **Basic operations supported** | Data insertionData deletionApproximate nearest neighbor (ANN) Search | Data insertionData deletion (in planning)Data queryApproximate nearest neighbor (ANN) SearchRecurrent neural network (RNN) search (in planning) |
| **Advanced features** | MishardsMilvus DM | Scalar filteringTime TravelMulti-site deployment and multi-cloud integrationData management tools |
| **Index types and libraries** | FaissAnnoyHnswlibRNSG | FaissAnnoyHnswlibRNSGScaNN (in planning)On-disk index (in planning) |
| **SDKs** | PythonJava,GoRESTfulC++ | PythonGo (in planning)RESTful (in planning)C++ (in planning) |
| **Release status** | Long-term support (LTS) | Release candidate. A stable version will be released in August. |
## Getting Started
### Demos
<table>
<tr>
<td width="30%">
<a href="https://zilliz.com/solutions">
<a href="https://zilliz.com/milvus-demos">
<img src="https://zillizstorage.blob.core.windows.net/zilliz-assets/zilliz-assets/assets/image_search_59a64e4f22.gif" />
</a>
</td>
<td width="30%">
<a href="https://zilliz.com/solutions">
<a href="https://zilliz.com/milvus-demos">
<img src="https://zillizstorage.blob.core.windows.net/zilliz-assets/zilliz-assets/assets/qa_df5ee7bd83.gif" />
</a>
</td>
<td width="30%">
<a href="https://zilliz.com/solutions">
<a href="https://zilliz.com/milvus-demos">
<img src="https://zillizstorage.blob.core.windows.net/zilliz-assets/zilliz-assets/assets/mole_search_76f8340572.gif" />
</a>
</td>
</tr>
<tr>
<th>
<a href="https://zilliz.com/solutions">Image search</a>
<a href="https://zilliz.com/milvus-demos">Image search</a>
</th>
<th>
<a href="https://zilliz.com/solutions">Chatbots</a>
<a href="https://zilliz.com/milvus-demos">Chatbots</a>
</th>
<th>
<a href="https://zilliz.com/solutions">Chemical structure search</a>
<a href="https://zilliz.com/milvus-demos">Chemical structure search</a>
</th>
</tr>
</table>
</details>
Milvus is an open-source vector database built to power AI applications and embedding similarity search. Milvus makes unstructured data search more accessible, and provides a consistent user experience regardless of the deployment environment.
Milvus was released under the open-source Apache License 2.0 in October 2019. It is currently an incubation-stage project under [LF AI & Data Foundation](https://lfaidata.foundation/).
- [Image Search](https://zilliz.com/milvus-demos)
- **Blazing Fast**
Images made searchable. Instantaneously return the most similar images from a massive database.
Average latency measured in milliseconds on ten million vector datasets.
- [Chatbots](https://zilliz.com/milvus-demos)
Supports CPU SIMD, GPU, and FPGA accelerations, fully utilizing available hardware resources to achieve cost efficiency.
Interactive digital customer service that saves users time and businesses money.
- **Easy to Use**
- [Chemical Structure Search](https://zilliz.com/milvus-demos)
Rich APIs designed for data science workflows.
Blazing fast similarity search, substructure search, or superstructure search for a specified molecule.
Consistent cross-platform UX from laptop, to local cluster, to cloud.
Embed real-time search and analytics into virtually any application.
## Bootcamps
- **Stable and Resilient**
Milvus [bootcamp](https://github.com/milvus-io/bootcamp/tree/new-bootcamp) are 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.
Milvus’ built-in replication and failover/failback features ensure data and applications can maintain business continuity in the event of a disruption.
- **High Elasticity**
Component-level scalability makes it possible to only scale where necessary.
- **Community Backed**
With over 1,000 enterprise users, 5,000+ stars on GitHub, and an active open-source community, you’re not alone when you use Milvus.
> **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](https://github.com/milvus-io/milvus/tree/1.0).
## Getting Started
### Demos
- [Image Search](https://zilliz.com/milvus-demos): Images made searchable. Instantaneously return the most similar images from a massive database.
- [Chatbots](https://zilliz.com/milvus-demos): Interactive digital customer service that saves users time and businesses money.
- [Chemical Structure Search](https://zilliz.com/milvus-demos): Blazing fast similarity search, substructure search, or superstructure search for a specified molecule.
## Contributing
......@@ -119,26 +235,25 @@ Contributions to Milvus are welcome from everyone. See [Guidelines for Contribut
## Documentation
### Milvus Docs
For documentation about Milvus, see [Milvus Docs](https://milvus.io/docs/overview.md).
### SDK
The implemented SDK and its API documentatation are listed below:
The implemented SDK and its API documentation are listed below:
- [PyMilvus-ORM](https://github.com/milvus-io/pymilvus-orm)
- [Python](https://github.com/milvus-io/pymilvus/tree/1.x)
### Recommended Articles
- [What is an embedding vector? Why and how does it contribute to the development of Machine Learning?](https://milvus.io/docs/v1.0.0/vector.md)
- [Which vector indexes does Milvus support? Which should I choose?](https://milvus.io/docs/v1.0.0/index.md)
- [How does Milvus compare the distance between vectors?](https://milvus.io/docs/v1.0.0/metric.md)
- You can learn more in [Milvus Server Configurations](https://milvus.io/docs/v1.0.0/milvus_config.md).
## Community
## Contact
Join the Milvus community on [Slack](https://join.slack.com/t/milvusio/shared_invite/zt-e0u4qu3k-bI2GDNys3ZqX1YCJ9OM~GQ) to share your suggestions, advice, and questions with our engineering team.
<a href="https://join.slack.com/t/milvusio/shared_invite/zt-e0u4qu3k-bI2GDNys3ZqX1YCJ9OM~GQ">
<img src="https://zillizstorage.blob.core.windows.net/zilliz-assets/zilliz-assets/assets/readme_slack_4a07c4c92f.png" alt="Miluvs Slack Channel" height="150" width="500">
</a>
Join the Milvus community on [Slack Channel](https://join.slack.com/t/milvusio/shared_invite/zt-e0u4qu3k-bI2GDNys3ZqX1YCJ9OM~GQ) to share your suggestions, advice, and questions with our engineering team. You can also submit questions to our [FAQ page](https://milvus.io/docs/v1.0.0/performance_faq.md).
You can also check out our [FAQ page](https://milvus.io/docs/v1.0.0/performance_faq.md) to discover solutions or answers to your issues or questions.
Subscribe to our mailing lists:
......@@ -149,13 +264,11 @@ Subscribe to our mailing lists:
Follow us on social media:
- [Milvus Medium](https://medium.com/@milvusio)
- [Milvus CSDN](https://zilliz.blog.csdn.net/)
- [Milvus Twitter](https://twitter.com/milvusio)
- [Milvus Facebook](https://www.facebook.com/io.milvus.5)
## License
## Join Us
Milvus is licensed under the Apache License, Version 2.0. View a copy of the [License file](https://github.com/milvus-io/milvus/blob/master/LICENSE).
Zilliz, the company behind Milvus, is [actively hiring](https://app.mokahr.com/apply/zilliz/37974#/) full-stack developers and solution engineers to build the next-generation open-source data fabric.
## Acknowledgments
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册