소스 검색

Prepare for 2.2.8 (#548)

Signed-off-by: yhmo <yihua.mo@zilliz.com>
groot 1 년 전
부모
커밋
2a03a71583
6개의 변경된 파일18개의 추가작업 그리고 10개의 파일을 삭제
  1. 8 0
      CHANGELOG.md
  2. 4 4
      README.md
  3. 2 2
      docker-compose.yml
  4. 2 2
      examples/pom.xml
  5. 1 1
      pom.xml
  6. 1 1
      src/test/java/io/milvus/client/MilvusClientDockerTest.java

+ 8 - 0
CHANGELOG.md

@@ -1,5 +1,13 @@
 # Changelog
 
+## milvus-sdk-java 2.2.8 (2023-06-29)
+
+### Improvement
+
+- Fix bug of high-level API
+- Add index type SORT for scalar field
+- Set log level in runtime
+
 ## milvus-sdk-java 2.2.7 (2023-06-21)
 
 ### Improvement

+ 4 - 4
README.md

@@ -17,8 +17,8 @@ The following table shows compatibilities between Milvus and Java SDK.
 | :------------: |:----------------:|
 |     2.0      |      2.0.4       |
 |     2.1      |   2.1.0-beta4    |
-|     2.2.0 ~ 2.2.8      |      2.2.5       |
-|     >= 2.2.9      |      2.2.7       |
+|     2.2.0 ~ 2.2.8      |      2.2.0 ~ 2.2.5       |
+|     >= 2.2.9      |      2.2.7 ~ 2.2.8       |
 
 ### Install Java SDK
 
@@ -30,14 +30,14 @@ You can use **Apache Maven** or **Gradle**/**Grails** to download the SDK.
         <dependency>
             <groupId>io.milvus</groupId>
             <artifactId>milvus-sdk-java</artifactId>
-            <version>2.2.7</version>
+            <version>2.2.8</version>
         </dependency>
        ```
 
    - Gradle/Grails
 
         ```gradle
-        compile 'io.milvus:milvus-sdk-java:2.2.7'
+        compile 'io.milvus:milvus-sdk-java:2.2.8'
         ```
 
 ### Examples

+ 2 - 2
docker-compose.yml

@@ -31,7 +31,7 @@ services:
 
   standalone:
     container_name: milvus-javasdk-test-standalone
-    image: milvusdb/milvus:v2.2.9
+    image: milvusdb/milvus:v2.2.10
     command: ["milvus", "run", "standalone"]
     environment:
       ETCD_ENDPOINTS: etcd:2379
@@ -75,7 +75,7 @@ services:
 
   standaloneslave:
     container_name: milvus-javasdk-test-slave-standalone
-    image: milvusdb/milvus:v2.2.9
+    image: milvusdb/milvus:v2.2.10
     command: ["milvus", "run", "standalone"]
     environment:
       ETCD_ENDPOINTS: etcdslave:2379

+ 2 - 2
examples/pom.xml

@@ -25,7 +25,7 @@
 
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java-examples</artifactId>
-    <version>2.2.7</version>
+    <version>2.2.8</version>
 
     <build>
         <plugins>
@@ -64,7 +64,7 @@
         <dependency>
             <groupId>io.milvus</groupId>
             <artifactId>milvus-sdk-java</artifactId>
-            <version>2.2.7</version>
+            <version>2.2.8</version>
         </dependency>
         <dependency>
             <groupId>com.google.code.gson</groupId>

+ 1 - 1
pom.xml

@@ -25,7 +25,7 @@
 
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java</artifactId>
-    <version>2.2.7</version>
+    <version>2.2.8</version>
     <packaging>jar</packaging>
 
     <name>io.milvus:milvus-sdk-java</name>

+ 1 - 1
src/test/java/io/milvus/client/MilvusClientDockerTest.java

@@ -1103,7 +1103,7 @@ class MilvusClientDockerTest {
         }
         SearchParam searchParam = SearchParam.newBuilder()
                 .withCollectionName(randomCollectionName)
-                .withMetricType(MetricType.L2)
+                .withMetricType(MetricType.IP)
                 .withTopK(topK)
                 .withVectors(targetVectors)
                 .withVectorFieldName(field2Name)