Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## milvus-sdk-java 2.6.1 (2025-07-14)
### Bug
- Fix a bug of SearchResultsWrapper.getRowRecords() that returns wrong data for output fields

### Improvement
- Deprecate topK for search/hybridSearch/iterator, replaced with limit
- Refine collection schema cache
- Avoid exception when search result is empty
- BulkWriter supports Int8Vector

## milvus-sdk-java 2.5.11 (2025-07-14)
### Bug
- Fix a bug of SearchResultsWrapper.getRowRecords() that returns wrong data for output fields
- Fix a bug of flush that timestamp is not correctly passed

### Improvement
- Deprecate topK for search/hybridSearch/iterator, replaced with limit
- Refine collection schema cache
- Avoid exception when search result is empty
- Support jsonPath index
- Support run analyzer by collection and Field

## milvus-sdk-java 2.6.0 (2025-06-13)
### Feature
- Support jsonPath index
Expand All @@ -9,7 +31,7 @@
- Support Int8Vector

### Bug
- Fix a bug of flush()
- Fix a bug of flush that timestamp is not correctly passed

## milvus-sdk-java 2.5.10 (2025-06-05)
### Feature
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ The following table shows compatibilities between Milvus and Java SDK.
| >= 2.2.9 | 2.2.7 ~ 2.2.15 |
| 2.3.x | 2.3.11 |
| 2.4.x | 2.4.11 |
| 2.5.x | 2.5.10 |
| 2.6.x | 2.6.0 |
| 2.5.x | 2.5.11 |
| 2.6.x | 2.6.1 |

### Install Java SDK

Expand All @@ -34,20 +34,20 @@ You can use **Apache Maven** or **Gradle** add Milvus SDK to your project.
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java</artifactId>
<version>2.6.0</version>
<version>2.6.1</version>
</dependency>
```

- Gradle/Groovy

```groovy
implementation 'io.milvus:milvus-sdk-java:2.6.0'
implementation 'io.milvus:milvus-sdk-java:2.6.1'
```

- Gradle/Kotlin

```kotlin
implementation("io.milvus:milvus-sdk-java:2.6.0")
implementation("io.milvus:milvus-sdk-java:2.6.1")
```

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.
Expand All @@ -59,20 +59,20 @@ To use BulkWriter, import milvus-sdk-java-bulkwriter to your project.
<dependency>
<groupId>io.milvus</groupId>
<artifactId>milvus-sdk-java-bulkwriter</artifactId>
<version>2.6.0</version>
<version>2.6.1</version>
</dependency>
```

- Gradle/Groovy

```groovy
implementation 'io.milvus:milvus-sdk-java-bulkwriter:2.6.0'
implementation 'io.milvus:milvus-sdk-java-bulkwriter:2.6.1'
```

- Gradle/Kotlin

```kotlin
implementation("io.milvus:milvus-sdk-java-bulkwriter:2.6.0")
implementation("io.milvus:milvus-sdk-java-bulkwriter:2.6.1")
```

### Examples
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:

standalone:
container_name: milvus-javasdk-test-standalone
image: milvusdb/milvus:master-20250706-d0976450
image: milvusdb/milvus:v2.6.0-rc1
command: ["milvus", "run", "standalone"]
environment:
ETCD_ENDPOINTS: etcd:2379
Expand Down Expand Up @@ -77,7 +77,7 @@ services:

standaloneslave:
container_name: milvus-javasdk-test-slave-standalone
image: milvusdb/milvus:master-20250706-d0976450
image: milvusdb/milvus:v2.6.0-rc1
command: ["milvus", "run", "standalone"]
environment:
ETCD_ENDPOINTS: etcdslave:2379
Expand Down
2 changes: 1 addition & 1 deletion examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</build>

<properties>
<revision>2.6.0</revision>
<revision>2.6.1</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</distributionManagement>

<properties>
<revision>2.6.0</revision>
<revision>2.6.1</revision>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
2 changes: 1 addition & 1 deletion sdk-core/src/test/java/io/milvus/TestUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class TestUtils {
private int dimension = 256;
private static final Random RANDOM = new Random();

public static final String MilvusDockerImageID = "milvusdb/milvus:master-20250706-d0976450";
public static final String MilvusDockerImageID = "milvusdb/milvus:v2.6.0-rc1";

public TestUtils(int dimension) {
this.dimension = dimension;
Expand Down
Loading