vearch/vearch

Distributed vector search for AI-native applications

Python

2,330

1,068 commits

updated Jul 27, 2026

See the code

README

License: Apache-2.0 Build Status Go Report Card Gitter

Overview

Vearch is a cloud-native distributed vector database for efficient similarity search of embedding vectors in your AI applications.

Key features

  • Hybrid search: Both vector search and scalar filtering.

  • Performance: Fast vector retrieval - search from millions of objects in milliseconds.

  • Scalability & Reliability: Replication and elastic scaling out.

Document

Restful APIs

OpenAPIs

SDK

SDKDescription
Python SDKPython client for Vearch
Go SDKGo client for Vearch
Java SDKJava client for Vearch
Rust SDKRust client for Vearch

Usage Cases

Use Vearch as a Memory Backend

Vearch integrates with popular AI frameworks:

FrameworkIntegration
LangchainUse Vearch as vector store in Langchain
LlamaIndexIntegrate with LlamaIndex for knowledge bases
LangchaingoGo implementation of Langchain with Vearch support
LangChain4jJava implementation with Vearch integration

Real world Demos

  • VisualSearch: 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.

Quick start

Kubernetes Deployment

# Via Helm Repository
$ helm repo add vearch https://vearch.github.io/vearch-helm
$ helm repo update && helm install my-release vearch/vearch

# Or from Local Charts
$ git clone https://github.com/vearch/vearch-helm.git && cd vearch-helm
$ helm install my-release ./charts -f ./charts/values.yaml

Docker Compose Deployment

# Standalone Mode
$ cd cloud && cp ../config/config.toml .
$ docker-compose --profile standalone up -d

# Cluster Mode
$ cd cloud && cp ../config/config_cluster.toml .
$ docker-compose --profile cluster up -d

Other Deployment Methods

Components

Vearch Architecture

arc

Master: Responsible for schema management, cluster-level metadata, and resource coordination.

Router: Provides RESTful API: upsert, delete, search and query; 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. It provides the ability of storing, indexing and retrieving the vectors and scalars.

Technical Reference

Academic Citation

When using Vearch in academic or research projects, please cite our paper:

@misc{li2019design,
      title={The Design and Implementation of a Real Time Visual Search System on JD E-commerce Platform},
      author={Jie Li and Haifeng Liu and Chuanghua Gui and Jianyu Chen and Zhenyun Ni and Ning Wang},
      year={2019},
      eprint={1908.07389},
      archivePrefix={arXiv},
      primaryClass={cs.IR}
}

Community Support

Connect With Us

Connect with the Vearch community through multiple channels:

  • GitHub Issues: Report bugs or request features on our issues page
  • Email Discussion: For public discussion or questions, contact us at [email protected]
  • Slack Channel: Join our community on Slack for real-time discussions

Contribution

We welcome contributions from the community! Check our contribution guidelines to get started.

License

Vearch is licensed under the Apache License, Version 2.0.

For complete licensing details, please see LICENSE and NOTICE in our repository.


© 2019 Vearch Contributors. All Rights Reserved.
ai-native
ai-native-database
cloud-native
document-retrieval
embeddings
hybrid-search
rag
retrieval-augmented-generation
vector-database
vectors
vector-search

vearch/vearch

Distributed vector search for AI-native applications

Python

2,330

1,068 commits

updated Jul 27, 2026

See the code

README

License: Apache-2.0 Build Status Go Report Card Gitter

Overview

Vearch is a cloud-native distributed vector database for efficient similarity search of embedding vectors in your AI applications.

Key features

  • Hybrid search: Both vector search and scalar filtering.

  • Performance: Fast vector retrieval - search from millions of objects in milliseconds.

  • Scalability & Reliability: Replication and elastic scaling out.

Document

Restful APIs

OpenAPIs

SDK

SDKDescription
Python SDKPython client for Vearch
Go SDKGo client for Vearch
Java SDKJava client for Vearch
Rust SDKRust client for Vearch

Usage Cases

Use Vearch as a Memory Backend

Vearch integrates with popular AI frameworks:

FrameworkIntegration
LangchainUse Vearch as vector store in Langchain
LlamaIndexIntegrate with LlamaIndex for knowledge bases
LangchaingoGo implementation of Langchain with Vearch support
LangChain4jJava implementation with Vearch integration

Real world Demos

  • VisualSearch: 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.

Quick start

Kubernetes Deployment

# Via Helm Repository
$ helm repo add vearch https://vearch.github.io/vearch-helm
$ helm repo update && helm install my-release vearch/vearch

# Or from Local Charts
$ git clone https://github.com/vearch/vearch-helm.git && cd vearch-helm
$ helm install my-release ./charts -f ./charts/values.yaml

Docker Compose Deployment

# Standalone Mode
$ cd cloud && cp ../config/config.toml .
$ docker-compose --profile standalone up -d

# Cluster Mode
$ cd cloud && cp ../config/config_cluster.toml .
$ docker-compose --profile cluster up -d

Other Deployment Methods

Components

Vearch Architecture

arc

Master: Responsible for schema management, cluster-level metadata, and resource coordination.

Router: Provides RESTful API: upsert, delete, search and query; 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. It provides the ability of storing, indexing and retrieving the vectors and scalars.

Technical Reference

Academic Citation

When using Vearch in academic or research projects, please cite our paper:

@misc{li2019design,
      title={The Design and Implementation of a Real Time Visual Search System on JD E-commerce Platform},
      author={Jie Li and Haifeng Liu and Chuanghua Gui and Jianyu Chen and Zhenyun Ni and Ning Wang},
      year={2019},
      eprint={1908.07389},
      archivePrefix={arXiv},
      primaryClass={cs.IR}
}

Community Support

Connect With Us

Connect with the Vearch community through multiple channels:

  • GitHub Issues: Report bugs or request features on our issues page
  • Email Discussion: For public discussion or questions, contact us at [email protected]
  • Slack Channel: Join our community on Slack for real-time discussions

Contribution

We welcome contributions from the community! Check our contribution guidelines to get started.

License

Vearch is licensed under the Apache License, Version 2.0.

For complete licensing details, please see LICENSE and NOTICE in our repository.


© 2019 Vearch Contributors. All Rights Reserved.
ai-native
ai-native-database
cloud-native
document-retrieval
embeddings
hybrid-search
rag
retrieval-augmented-generation
vector-database
vectors
vector-search

Project health

Overall

4.0/10

Maintained

5/10

Code review

3/10
OpenSSF Scorecard

PyPI

Latest release

3.3.2 · Aug 31, 2023

Releases this year

0

Significant stargazers

Lee Penkman

137 followers · starred Jun 2025

Anton Lozhkov

431 followers · starred Jun 2020

Tobie Morgan Hitchcock

657 followers · starred Apr 2023

David Zhao

425 followers · starred Nov 2019