# vearch
**Repository Path**: myitgit/vearch
## Basic Information
- **Project Name**: vearch
- **Description**: Vearch 是一个分布式向量搜索系统,可以用来计算向量相似度,或用于机器学习领域,如:图像识别、视频识别或自然语言处理等各个领域
- **Primary Language**: Go
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 36
- **Created**: 2019-10-10
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
**master:** [](https://travis-ci.org/vearch/vearch) **dev:** [](https://travis-ci.org/vearch/vearch)
## Overview
Vearch is a scalable distributed system for efficient similarity search of deep learning vectors.
## Architecture

* Data Model
space, documents, vectors, scalars
* Components
`Master`, `Router` and `PartitionServer`
* Master
Responsible for schema mananagement, cluster-level metadata, and resource coordination.
* Router
Provides RESTful API: `create` , `delete` `search` and `update` ; request routing, and result merging.
* PartitionServer (PS)
Hosts document partitions with raft-based replication.
Gamma is the core vector search engine implemented based on [faiss](https://github.com/facebookresearch/faiss). It provides the ability of storing, indexing and retrieving the vectors and scalars.
## Quick start
* Quickly build a distributed vector search system with RESTful API, please see [docs/Deploy.md](docs/Deploy.md).
* Vearch can be leveraged to build a complete visual search system to index billions of images. The image retrieval plugin for object detection and feature extraction is also required. For more information, please refer to [docs/Quickstart.md](docs/Quickstart.md).
## APIs and Use Cases
### LowLevelAPI
* [docs/APILowLevel.md](docs/APILowLevel.md)
### VisualSearchAPI
* [docs/APIVisualSearch.md](docs/APIVisualSearch.md)
## Document
* https://vearch.readthedocs.io/en/latest
* https://vdb-docs.readthedocs.io/zh_CN/latest/
## Publication
Jie Li, Haifeng Liu, Chuanghua Gui, Jianyu chen, Zhenyun Ni, Ning Wang, Yuan Chen. The Design and Implementation of a Real Time Visual Search System on JD E-commerce Platform. In the 19th International ACM Middleware Conference, December 10–14, 2018, Rennes, France. https://arxiv.org/abs/1908.07389
## Community
You can report bugs or ask questions in the [issues page](https://github.com/vearch/vearch/issues) of the repository.
For public discussion of Vearch or for questions, you can also send email to vearch-maintainers@groups.io.
## License
Licensed under the Apache License, Version 2.0. For detail see [LICENSE and NOTICE](https://github.com/vearch/vearch/blob/master/LICENSE).