Home

Awesome

Milvus Java SDK

Maven Central

Java SDK for Milvus. To contribute to this project, please read our contribution guidelines first.

Getting started

Prerequisites

-   Java 8 or higher
-   Apache Maven or Gradle

The following table shows compatibilities between Milvus and Java SDK.

Milvus versionJava SDK version
2.02.0.4
2.12.1.0-beta4
2.2.0 ~ 2.2.82.2.0 ~ 2.2.5
>= 2.2.92.2.7 ~ 2.2.15
2.3.x2.3.11
2.4.x2.4.8
2.5.x2.5.2

Install Java SDK

You can use Apache Maven or Gradle add Milvus SDK to your project.

From v2.5.2, milvus Java SDK is split into two packages: milvus-sdk-java and milvus-sdk-java-bulkwriter, because BulkWriter requires quite a lot of dependencies. If you don't need BulkWriter tool, you can ignore the milvus-sdk-java-bulkwriter package. To use BulkWriter, import milvus-sdk-java-bulkwriter to your project.

Examples

Please refer to examples folder for Java SDK examples.

Documentation

Troubleshooting