{"id":21525233,"url":"https://github.com/apijson/apijson-milvus","last_synced_at":"2026-02-18T09:01:53.759Z","repository":{"id":215632812,"uuid":"739421089","full_name":"APIJSON/apijson-milvus","owner":"APIJSON","description":"腾讯 APIJSON 的 Milvus AI 向量数据库插件。A Milvus plugin for Tencent APIJSON.","archived":false,"fork":false,"pushed_at":"2025-01-31T09:07:00.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-06T10:52:53.363Z","etag":null,"topics":["ai","apijson","database","milvus","orm","orm-library","sql","vector","vector-database"],"latest_commit_sha":null,"homepage":"https://github.com/Tencent/APIJSON","language":"Java","has_issues":false,"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/APIJSON.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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-01-05T14:24:57.000Z","updated_at":"2025-01-12T16:45:23.000Z","dependencies_parsed_at":"2024-01-19T13:54:22.819Z","dependency_job_id":"3b21944c-2bdd-4142-83c7-35e850cbddee","html_url":"https://github.com/APIJSON/apijson-milvus","commit_stats":null,"previous_names":["apijson/apijson-milvus"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/APIJSON/apijson-milvus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIJSON%2Fapijson-milvus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIJSON%2Fapijson-milvus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIJSON%2Fapijson-milvus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIJSON%2Fapijson-milvus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/APIJSON","download_url":"https://codeload.github.com/APIJSON/apijson-milvus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APIJSON%2Fapijson-milvus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29574065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ai","apijson","database","milvus","orm","orm-library","sql","vector","vector-database"],"created_at":"2024-11-24T01:33:51.051Z","updated_at":"2026-02-18T09:01:53.735Z","avatar_url":"https://github.com/APIJSON.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# apijson-milvus  [![](https://jitpack.io/v/APIJSON/apijson-milvus.svg)](https://jitpack.io/#APIJSON/apijson-milvus)\n腾讯 [APIJSON](https://github.com/Tencent/APIJSON) 6.4.0+ 的 Milvus 数据库插件，可通过 Maven, Gradle 等远程依赖。\u003cbr /\u003e\nA Milvus plugin for Tencent [APIJSON](https://github.com/Tencent/APIJSON) 6.4.0+\n\n![image](https://github-production-user-asset-6210df.s3.amazonaws.com/5738175/294214558-1a438f32-b33b-4140-b128-3afc0e97877f.png)\n\n## 添加依赖\n## Add Dependency\n\n### Maven\n#### 1. 在 pom.xml 中添加 JitPack 仓库\n#### 1. Add the JitPack repository to pom.xml\n```xml\n\t\u003crepositories\u003e\n\t\t\u003crepository\u003e\n\t\t    \u003cid\u003ejitpack.io\u003c/id\u003e\n\t\t    \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n\t\t\u003c/repository\u003e\n\t\u003c/repositories\u003e\n```\n\n![image](https://user-images.githubusercontent.com/5738175/167261814-d75d8fff-0e64-4534-a840-60ef628a8873.png)\n\n\u003cbr /\u003e\n\n#### 2. 在 pom.xml 中添加 apijson-milvus 依赖\n#### 2. Add the apijson-milvus dependency to pom.xml\n```xml\n\t\u003cdependency\u003e\n\t    \u003cgroupId\u003ecom.github.APIJSON\u003c/groupId\u003e\n\t    \u003cartifactId\u003eapijson-milvus\u003c/artifactId\u003e\n\t    \u003cversion\u003eLATEST\u003c/version\u003e\n\t\u003c/dependency\u003e\n```\n\n\u003cbr /\u003e\n\nhttps://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/pom.xml\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n### Gradle\n#### 1. 在项目根目录 build.gradle 中最后添加 JitPack 仓库\n#### 1. Add the JitPack repository in your root build.gradle at the end of repositories\n```gradle\n\tallprojects {\n\t\trepositories {\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n```\n\u003cbr /\u003e\n\n#### 2. 在项目某个 module 目录(例如 `app`) build.gradle 中添加 apijson-milvus 依赖\n#### 2. Add the apijson-milvus dependency in one of your modules(such as `app`)\n```gradle\n\tdependencies {\n\t        implementation 'com.github.APIJSON:apijson-milvus:latest'\n\t}\n```\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n## 使用\n## Usage\n\n在你项目继承 AbstractSQLExecutor 的子类重写方法 execute \u003cbr/\u003e\nOverride execute in your SQLExecutor extends AbstractSQLExecutor\n```java\n        @Override\n        public JSONObject execute(@NotNull SQLConfig\u003cLong\u003e config, boolean unknownType) throws Exception {\n            if (config.isMilvus()) {\n                return MilvusUtil.execute(config, null, unknownType);\n            }\n   \n            return super.execute(config, unknownType);\n        }\n```\n\n#### 见 [MilvusUtil](/src/main/java/apijson/milvus/MilvusUtil.java) 的注释及 [APIJSONBoot-MultiDataSource](https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource) 的 [DemoSQLExecutor](https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo/DemoSQLExecutor.java) \u003cbr /\u003e\n\n#### See document in [MilvusUtil](/src/main/java/apijson/milvus/MilvusUtil.java) and [DemoSQLExecutor](https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo/DemoSQLExecutor.java) in [APIJSONBoot-MultiDataSource](https://github.com/APIJSON/APIJSON-Demo/blob/master/APIJSON-Java-Server/APIJSONBoot-MultiDataSource)\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n有问题可以去 Tencent/APIJSON 提 issue \u003cbr /\u003e\nhttps://github.com/Tencent/APIJSON/issues/36\n\n\u003cbr /\u003e\u003cbr /\u003e\n\n#### 点右上角 ⭐Star 支持一下，谢谢 ^_^\n#### Please ⭐Star this project ^_^\nhttps://github.com/APIJSON/apijson-milvus\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapijson%2Fapijson-milvus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapijson%2Fapijson-milvus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapijson%2Fapijson-milvus/lists"}