milvus-logo
LFAI
< Docs
  • Java

About

Milvus Java SDK is an open-source project and its source code is hosted on GitHub.

Compatibility

Milvus version Recommended SDK version
2.0.2 2.0.4
2.1 2.1.0-beta4
2.2.0 ~ 2.2.8 2.2.5
2.2.9 ~ 2.2.14 2.2.13
2.3.x 2.3.9
2.4.x 2.4.9
2.5.x 2.5.2

Installation

You can use Apache Maven or Gradle to download the SDK.

  • Apache Maven
 <dependency>
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java</artifactId>
     <version>2.5.2</version>
 </dependency>
  • Gradle/Groovy
implementation 'io.milvus:milvus-sdk-java:2.5.2'
  • Gradle/Kotlin
implementation("io.milvus:milvus-sdk-java:2.5.2")

Since v2.5.2, Milvus Java SDK has been split into two packages: milvus-sdk-java and milvus-sdk-java-bulkwriter. If you do not need BulkWriter, ignore the milvus-sdk-java-bulkwriter package. To use BulkWriter, import the milvus-sdk-java-bulkwriter as follows:

 <dependency>
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java-bulkwriter</artifactId>
     <version>2.5.2</version>
 </dependency>
  • Gradle/Groovy
implementation 'io.milvus:milvus-sdk-java-bulkwriter:2.5.2'
  • Gradle/Kotlin
implementation("io.milvus:milvus-sdk-java-bulkwriter:2.5.2")

Contributing

We are committed to building a collaborative, exuberant open-source community for Milvus. Therefore, contributions to Milvus Java SDK are welcome from everyone. Refer to Contributing Guideline before making contributions to this project. You can file an issue if you need any assistance or want to propose your ideas

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?