{"id":29571878,"url":"https://github.com/oceanbase/ob-vsag","last_synced_at":"2025-07-19T04:36:28.111Z","repository":{"id":258459054,"uuid":"851517942","full_name":"oceanbase/ob-vsag","owner":"oceanbase","description":"ob-vsag acts as an adaptation layer, enabling OceanBase to use vector algorithms based on vsag","archived":false,"fork":false,"pushed_at":"2025-05-28T03:13:28.000Z","size":118,"stargazers_count":7,"open_issues_count":2,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-05-28T04:33:32.094Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oceanbase.png","metadata":{"files":{"readme":"README-CN.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-03T08:41:00.000Z","updated_at":"2025-05-22T05:34:30.000Z","dependencies_parsed_at":"2025-02-19T03:22:22.576Z","dependency_job_id":"9ea02bed-5715-433e-95d3-b9e1be42e2a2","html_url":"https://github.com/oceanbase/ob-vsag","commit_stats":null,"previous_names":["oceanbase/ob-vsag"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oceanbase/ob-vsag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-vsag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-vsag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-vsag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-vsag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oceanbase","download_url":"https://codeload.github.com/oceanbase/ob-vsag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-vsag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265889158,"owners_count":23844539,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-19T04:36:27.487Z","updated_at":"2025-07-19T04:36:28.100Z","avatar_url":"https://github.com/oceanbase.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ob-vsag\n[English](./README.md) | 中文\n\u003cdiv align=\"left\"\u003e\n\n[![Chinese Doc](https://img.shields.io/badge/文档-简体中文-blue)]()\n\n\u003c/div\u003e\n\nob-vsag 是 [OceanBase](https://github.com/oceanbase/oceanbase) 团队基于蚂蚁集团[vsag](https://github.com/alipay/vsag)构建的。VSAG 是一个用 C++ 编写的向量索引库，专门用于相似性搜索。该索引算法库提供了基于向量维度和数据规模生成参数的方法，使用户能够搜索不同规模的向量数据集，并且开发人员无需了解算法的具体原理即可进行集成和使用。\n\n## Getting started\ngcc9 and cmake-3.22 are required\n```\n#after clone this project\ncd ob-vsag\ncmake .\nmake -j\n\n#after build success,run test example to check\ncd example\n./hnsw_example\n```\n- More details refs to [vsag](https://github.com/alipay/vsag)\n\n## Architecture\n\nob-vsag 与oceanbase整体架构关系如下图所示，oceanbase内核在实现向量检索功能时提供了一组向量检索抽象接口，ob-vsag即在vsag的基础上封装的适配层:\n\n\u003cimg src=\"./images/ob-vsag.jpg\" width = \"60%\" alt=\"InternalNode\" align=center /\u003e\n\n\n# Contributing\n\n热情欢迎每一位对数据库技术热爱的开发者，期待与您携手开启思维碰撞之旅。无论是文档格式调整或文字修正、问题修复还是增加新功能，都是参与和贡献方式之一。\n\n# License\n\nob-vsag 采用 Apache 2.0 开源协议 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanbase%2Fob-vsag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foceanbase%2Fob-vsag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanbase%2Fob-vsag/lists"}