Docker Compose 部署前需先复制 config.toml 或 config_cluster.toml 到 cloud 目录;VisualSearch 示例还需额外安装目标检测与特征提取插件;集群模式与单机模式使用不同的配置文件与 compose profile

vearch
vearchApache-2.0活跃维护面向 AI 原生应用的分布式向量搜索引擎,支持混合检索和 RAG 场景,帮你在海量向量里快速找到相关内容。
Distributed vector search for AI-native applications
helm repo add vearch https://vearch.github.io/vearch-helm
helm repo update && helm install my-release vearch/vearchREADME 未说明具体显存或 GPU 型号要求
云原生分布式向量数据库,为 AI 应用提供毫秒级相似向量检索
面向 AI 原生应用的分布式向量搜索引擎,支持混合检索和 RAG 场景,帮你在海量向量里快速找到相关内容。
核心能力
- 同时支持向量检索与标量过滤的混合搜索
- 基于 faiss 的 Gamma 引擎,百万级数据毫秒级返回
- 通过 raft 副本实现复制与弹性扩缩容
- 提供 Python、Go、Java、Rust 多语言 SDK
- 可接入 Langchain、LlamaIndex 等框架作记忆后端
容易踩的坑
- v3.5.9最新正式版2026-02-04 · 2026-02-04 10:04 UTC
Vearch Version Python SDK Version Go SDK Version v3.5.9 v3.5.5 v3.5.3 What's Changed
Added
- feat: realtime searching
- feat: add slow search isolation
- feat: implement nearby read connection client type
- feat: Add memory circuit breaker and kill slow query
- feat: support pagination
- feat: search with partition names
- feat: core engine python sdk
- feat: support gpu ivfpq index search
- feat: add prometheus metrics for master and ps
Fixed
- fix: fix physical backup
- fix: set value for httpRes and add default value for config
- fix: check partition leader before register to master
- fix: raft server can't get node replica info (
- fix: delete existed partiton when create space failed
- hotfix:fix write out of range and check topK limit
- fix: fix concurrent wirte response issue
New Contributors
- @Anpeihang made their first contribution in https://github.com/vearch/vearch/pull/863
Full Changelog: https://github.com/vearch/vearch/compare/v3.5.8...v3.5.9
- v3.5.82025-11-07 · 2025-11-07 02:41 UTC
查看更新说明
Vearch Version Python SDK Version Go SDK Version v3.5.8 v3.5.5 v3.5.3 What's Changed
Added
- feat: add docid to _id map into memory
- feat: refactor GPU index architecture and add IVFFLAT GPU support with modular base classes
- feat(add rust sdk for vearch): add rust sdk support rust sdk for vearch
- feat: enhance MultiFieldsRangeIndex to support string array fields and improve document query handling
- feat: add early termination optimization for topn queries in MultiFieldsRangeIndex
- feat: implement dynamic management of scalar indexes in space service
- feat: implement dynamic vector field management via updateSpace API
- feat: add query limit for vearch
- feat: add auto brute force search mode selection
- feat: automatically check resource for partitions
- feat: support refresh_interval
- feat: implement show flamegraph in web ui
- feat: Add "<>" not equal operator
Changed
- perf: add trace info for partitions
- perf(python sdk): reduce the overhead of checking the schema when upsert data
- [perf: enhance GPU Indexing for IVFFLAT and IVFPQ]
- refactor: set rpcx and raft log level
Fixed
- fix: fix missing string field deletion when deleting documents
- fix: clean up partitions when creating space failed
- fix: add counter to avoid close index
- fix: check refresh interval for compatibility
- fix: check empty partition rule
- fix: id can be negetive for multi getting
- fix: prevent crash when writing to canceled context
New Contributors
- @fanjia1024 made their first contribution in https://github.com/vearch/vearch/pull/847
- @KuangXiaoXinFei made their first contribution in https://github.com/vearch/vearch/pull/848
Full Changelog: https://github.com/vearch/vearch/compare/v3.5.7...v3.5.8
- v3.5.72025-04-28 · 2025-04-28 05:46 UTC
查看更新说明
Vearch Version Python SDK Version Go SDK Version v3.5.7 v3.5.4 v3.5.3 What's Changed
Added
- feat: Add incremental backup support for RocksDB storage
- feat: rebuild index
- feat: Add cluster health promethues metric
- feat: support "=" filter and "OR" filter operator
- feat: Add zstd compression for backup files and implement decompressi…
- feat: add region parameter to S3 configuration for backup service
Changed
- ci: split cluster ci
- refactor: Move the compilation of faiss to env to improve CI speed
- refactor: Update metric handling in profiler and monitor service
- chore: update faiss version to v1.10.0
Fixed
- fix: update objectName format to include clusterName in backup handler
- fix: add nil checks for monitoring system initialization in Profiler …
- fix: restore from checkpoint snapshot instead of raw data
- fix: destory column family handle before close database
New Contributors
- @yanwr1 made their first contribution in https://github.com/vearch/vearch/pull/833
Full Changelog: https://github.com/vearch/vearch/compare/v3.5.6...v3.5.7
- v3.5.62025-03-03 · 2025-03-03 08:50 UTC
查看更新说明
Vearch Version Python SDK Version Go SDK Version v3.5.6 v3.5.4 v3.5.3 What's Changed
Added
Changed
- refactor: split master services into separate files
- feat: implement Query method in MultiFieldsRangeIndex for optimized document retrieval
- refactor: update metrics handling to use pointer types and improve protobuf generation
- perf: change space replica num default value to 3
- perf: reduce bitmap copies
- chore(deps): bump golang.org/x/net in /tools/backup
Fixed
- fix: check duplicate id when get or upsert
- fix: set table size as max_doc_id and check updating in engine
- fix: check partition num with partition rule
- fix: query from leader when update
- fix: add error handling for GetVector method in VectorManager
- fix: check space field name
- fix(python sdk): set space replica_num
- fix: optimize RawVectors access in Engine and VectorManager to fix stack crash
Full Changelog: https://github.com/vearch/vearch/compare/v3.5.5...v3.5.6
- v3.5.52025-01-07 · 2025-01-07 01:41 UTC
查看更新说明
Vearch Version Python SDK Version Go SDK Version v3.5.5 v3.5.4 v3.5.3 What's Changed
Added
- chore: add "space_config" in master; update dependencies for bytedance/sonic and google.golang.org/grpc by @wxingda in https://github.com/vearch/vearch/pull/816
- Add langchain4j in readme and example by @Martin7-1 in https://github.com/vearch/vearch/pull/817
- feat: add interface for replace master member and auto sync router an… by @zcdb in https://github.com/vearch/vearch/pull/819
- ci: check master members in ci_cluster.yml by @zcdb in https://github.com/vearch/vearch/pull/825
- feat(python sdk): support filter operator of NOT IN and new data type
- feat: add long_search_time config to record slow search request
- feat: add router registration logic in NewServer function
- feat: add interface for replace master member and auto sync router an…
- feat: automatically recover on other healthy ps server when replica fail
- feat: add replica anti-affinity strategy
- feat: add request ID handling and space scanning in server logic; upd…
Changed
- ci: enable automatic recovery of failed nodes in configuration
- refactor: enhance storage manager with new Get and MultiGet methods, …
- feat: string array data type can set as string_array
- feat: update data types to int64_t for improved precision and add ToR…
- refactor: use timeout midware instead of timeout handling in document…
Fixed
- fix: 1. fix multi-vector search memory leak; 2. remove VIDMgr;
- fix: add timeout handling and retry logic in RegisterRouter method
- fix: check ivfpq index score is valid
- fix: check upsert result with duplicate id
- fix: add minimum training threshold
- fix: fix dead lock in range search and crash in delete scalar index
- fix: check cluster health
- fix: use topn when merging results to avoid empty results for some shards
- fix: fix string array index length limit
New Contributors
- @Martin7-1 made their first contribution in https://github.com/vearch/vearch/pull/817
Full Changelog: https://github.com/vearch/vearch/compare/v3.5.4...v3.5.5
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
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
| SDK | Description |
|---|---|
| Python SDK | Python client for Vearch |
| Go SDK | Go client for Vearch |
| Java SDK | Java client for Vearch |
| Rust SDK | Rust client for Vearch |
Usage Cases
Use Vearch as a Memory Backend
Vearch integrates with popular AI frameworks:
| Framework | Integration |
|---|---|
| Langchain | Use Vearch as vector store in Langchain |
| LlamaIndex | Integrate with LlamaIndex for knowledge bases |
| Langchaingo | Go implementation of Langchain with Vearch support |
| LangChain4j | Java 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
# 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
- DeployByDocker: Deploy Vearch by Docker
- SourceCompileDeployment: Compile Vearch from source code
Components
Vearch Architecture

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.