{"full_name":"alibaba/zvec","owner":"alibaba","name":"zvec","shard":"1","url":"https://github.com/alibaba/zvec","description":"A lightweight, lightning-fast, in-process vector database","homepage":"https://zvec.org","topics":["rag","agent-skills","embedded","faiss","hnsw","llm-memory","search-engine","semantic-search","similarity-search","vector-database","local","db","vector-db","fts","fulltext-search"],"tag_pages":["agent-skills","embedded","faiss","hnsw","local","rag","search-engine","semantic-search","similarity-search","vector-database"],"language":"C++","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/1961952?v=4","created_at":"2025-12-05T07:45:38Z","pushed_at":"2026-11-13T10:51:27Z","metrics":{"stars":16244,"forks":1022,"watchers":70,"issues":200,"prs":675,"releases":16,"issues_open":43,"issues_closed":157,"prs_open":57,"prs_closed":124,"prs_merged":494,"discussions":11},"growth":{"day":{"stars":3,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[16223,16226,16230,16231,16235,16241,16244],"forks":[1021,1022,1022,1022,1022,1022,1022],"watchers":[null,69,69,70,70,70,70],"issues_open":[null,47,45,45,44,43,43],"prs_open":[null,54,53,53,57,57,57]},"boards":{},"same_owner":[{"full_name":"alibaba/AliSQL","name":"AliSQL","shard":"1","boards":{}},{"full_name":"alibaba/Chat2DB","name":"Chat2DB","shard":"1","boards":{}},{"full_name":"alibaba/DataX","name":"DataX","shard":"1","boards":{}},{"full_name":"alibaba/MNN","name":"MNN","shard":"1","boards":{}},{"full_name":"alibaba/QLExpress","name":"QLExpress","shard":"1","boards":{}},{"full_name":"alibaba/Sentinel","name":"Sentinel","shard":"1","boards":{}},{"full_name":"alibaba/arthas","name":"arthas","shard":"1","boards":{}},{"full_name":"alibaba/canal","name":"canal","shard":"1","boards":{}},{"full_name":"alibaba/druid","name":"druid","shard":"1","boards":{}},{"full_name":"alibaba/easyexcel","name":"easyexcel","shard":"1","boards":{}},{"full_name":"alibaba/flutter-go","name":"flutter-go","shard":"1","boards":{}},{"full_name":"alibaba/formily","name":"formily","shard":"1","boards":{}},{"full_name":"alibaba/higress","name":"higress","shard":"1","boards":{}},{"full_name":"alibaba/ice","name":"ice","shard":"1","boards":{}},{"full_name":"alibaba/jetcache","name":"jetcache","shard":"1","boards":{}},{"full_name":"alibaba/jvm-sandbox","name":"jvm-sandbox","shard":"1","boards":{}},{"full_name":"alibaba/lowcode-engine","name":"lowcode-engine","shard":"1","boards":{}},{"full_name":"alibaba/nacos","name":"nacos","shard":"1","boards":{}},{"full_name":"alibaba/open-code-review","name":"open-code-review","shard":"1","boards":{"daily":14,"weekly":49,"monthly":98,"daily_rate":107,"weekly_rate":197,"daily_forks":5,"daily_watchers":139}},{"full_name":"alibaba/p3c","name":"p3c","shard":"1","boards":{}}],"issues":[{"number":868,"title":"[Performance]:High-selectivity range filter materializes a full bitmap — `bitset_set_list` ~49% CPU, dwarfing the ANN search","comments":12,"created_at":"2026-11-02T04:32:38Z"},{"number":586,"title":"[Feature]:未来是否会支持单写多读（一个写进程 + 多个只读进程）？","comments":4,"created_at":"2026-07-10T08:52:57Z"},{"number":293,"title":"clang-tidy: enable bugprone-*","comments":4,"created_at":"2026-03-31T12:34:02Z"},{"number":781,"title":"Bug: Collection.group_by_query returns empty results with ID-out-of-range errors (UINT64_MAX)","comments":3,"created_at":"2026-09-24T07:44:02Z"},{"number":291,"title":"clang-tidy: enable performance-*","comments":3,"created_at":"2026-03-31T12:33:16Z"},{"number":791,"title":"[Bug]: Document with NULL in a nullable vector column makes filter-only scans fail when include_vector=true (\"fetch vector failed: Failed to fetch vector from index\")","comments":2,"created_at":"2026-09-29T11:13:18Z"},{"number":789,"title":"Durability: acknowledged data can be lost after power loss, and a damaged manifest can make recovery delete every segment","comments":2,"created_at":"2026-09-28T17:59:17Z"},{"number":784,"title":"[Bug]: ID map RocksDB is never compacted; ascending primary keys leave one SST and one open fd per flush","comments":2,"created_at":"2026-09-25T07:59:27Z"}],"discussions":[{"number":767,"title":"I used zvec in my project (coding agent memory)","comments":0,"category":"Show and tell","created_at":"2026-09-17T21:34:18Z"},{"number":506,"title":"Is embedding zvec considered in the roadmap?","comments":1,"category":"Ideas","created_at":"2026-06-19T08:07:24Z"},{"number":505,"title":"Different between Zvec and SQLite Vector","comments":1,"category":"General","created_at":"2026-06-18T20:09:00Z"},{"number":313,"title":"v0.3.0","comments":0,"category":"Announcements","created_at":"2026-04-03T07:52:01Z"},{"number":310,"title":"🗳️ Community Feedback: What should we build next for Zvec?","comments":3,"category":"Ideas","created_at":"2026-04-03T07:00:21Z"},{"number":161,"title":"Build for Windows","comments":1,"category":"General","created_at":"2026-02-23T16:33:04Z"},{"number":158,"title":"Try to install using pip and npm","comments":1,"category":"General","created_at":"2026-02-23T02:33:27Z"},{"number":154,"title":"Proposal: Standalone DuckDB Extension for zvec","comments":0,"category":"Ideas","created_at":"2026-02-20T18:27:17Z"}],"latest_release":{"name":"v0.8.1","tag":"v0.8.1","published_at":"2026-11-06T10:06:33Z","body":"# 🚀 Zvec v0.8.1 Release Notes\r\n\r\n## 📦 New Features\r\n+ **PQ for HNSW and IVF:** Added PQ4/PQ8 and optional OPQ, covering training, search, persistence, and subsequent updates. ([#833](https://github.com/alibaba/zvec/pull/833))\r\n+ **Broader platform support:** Enabled RaBitQ on Linux, macOS, Android, and iOS ARM64, plus Intel Mac. DiskANN now supports Intel Mac and Windows ARM64. ([#832](https://github.com/alibaba/zvec/pull/832), [#874](https://github.com/alibaba/zvec/pull/874))\r\n+ **Grouped search in the C API:** Added grouped vector query and result-management APIs. ([#845](https://github.com/alibaba/zvec/pull/845))\r\n\r\n## 🚀 Performance Improvements\r\n+ **Lower build memory:** Reduced vector copying and temporary storage in DiskANN, IVF, and selected HNSW construction paths. ([#853](https://github.com/alibaba/zvec/pull/853), [#877](https://github.com/alibaba/zvec/pull/877), [#879](https://github.com/alibaba/zvec/pull/879), [#880](https://github.com/alibaba/zvec/pull/880))\r\n+ **Faster search and construction:** Improved Flat batch queries, HNSW construction, and FP16 distance calculation, and completed ARM NEON batch-distance kernels. ([#862](https://github.com/alibaba/zvec/pull/862), [#871](https://github.com/alibaba/zvec/pull/871), [#856](https://github.com/alibaba/zvec/pull/856))\r\n\r\n## 🐞 Key Fixes\r\n+ Strengthened read-only storage guarantees, fixing index modifications on read-only close, WAL recovery boundaries, and writable reopen behavior. ([#834](https://github.com/alibaba/zvec/pull/834), [#840](https://github.com/alibaba/zvec/pull/840), [#870](https://github.com/alibaba/zvec/pull/870))\r\n+ Fixed HNSW RaBitQ scoring, missing external-vector handling, crashes after failed schema changes, and collection locks retained through inherited file descriptors. ([#851](https://github.com/alibaba/zvec/pull/851), [#861](https://github.com/alibaba/zvec/pull/861), [#822](https://github.com/alibaba/zvec/pull/822), [#859](https://github.com/alibaba/zvec/pull/859))\r\n\r\n**Upgrade note:** Collections with pending WAL recovery must first be opened and closed in writable mode before being opened read-only. ([#840](https://github.com/alibaba/zvec/pull/840))\r\n\r\nThanks to all contributors, and welcome to first-time contributors [@ZoruaSama](https://github.com/ZoruaSama) and [@ilike314272](https://github.com/ilike314272)!\r\n\r\n**Full Changelog:**[v0.8.0...v0.8.1](https://github.com/alibaba/zvec/compare/v0.8.0...v0.8.1)\r\n","is_prerelease":false},"readme":true,"readme_zh":true,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}