2
0
Zhiru Zhu 5 жил өмнө
parent
commit
7f494cbd0b

+ 2 - 2
CHANGELOG.md

@@ -1,6 +1,6 @@
 # Changelog     
 
-## milvus-sdk-java 0.2.1 (2018-11-4)
+## milvus-sdk-java 0.2.2 (2018-11-4)
 
 ### Bug
 ---
@@ -9,7 +9,7 @@
 ---
 - \#49 - Add waitTime option in ConnectParam
 - \#51 - Change connect waitTime to timeout
-- \#52 - Add IVF_PQ IndexType and change IVF_SQ8H to IVF_SQ8_H
+- \#52 - Change IVF_SQ8H to IVF_SQ8_H
 
 ### Feature
 ---

+ 6 - 6
README.md

@@ -9,12 +9,12 @@ If you want to contribute to this repo, please read our [contribution guidelines
 
 You will need Java 8 or higher.
 
-Milvus version compatibility
+Milvus version compatibility:
 
-|Milvus version| Recommended SDK version|
+|Milvus version| SDK version|
 |:-----:|:-----:|
-| 0.5.0 | 0.2.1 | 
-| 0.5.1 | 0.2.1 | 
+| 0.5.0 | 0.2.2 | 
+| 0.5.1 | 0.2.2 | 
 
 ### Dependency 
 
@@ -23,13 +23,13 @@ Apache Maven
 <dependency>
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java</artifactId>
-    <version>0.2.1</version>
+    <version>0.2.2</version>
 </dependency>
 ```
 
 Gradle/Grails 
 
-`compile 'io.milvus:milvus-sdk-java:0.2.1'`
+`compile 'io.milvus:milvus-sdk-java:0.2.2'`
 
 ### Examples
 

+ 2 - 2
examples/pom.xml

@@ -25,7 +25,7 @@
 
     <groupId>io.milvus</groupId>
     <artifactId>milvus-sdk-java-examples</artifactId>
-    <version>0.2.1</version>
+    <version>0.2.2</version>
     <build>
         <plugins>
             <plugin>
@@ -48,7 +48,7 @@
         <dependency>
             <groupId>io.milvus</groupId>
             <artifactId>milvus-sdk-java</artifactId>
-            <version>0.2.1</version>
+            <version>0.2.2</version>
         </dependency>
     </dependencies>
 

+ 1 - 1
pom.xml

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

+ 0 - 4
src/main/java/io/milvus/client/IndexType.java

@@ -44,9 +44,6 @@ import java.util.Optional;
  * which significantly improves the search performance. To use this index type, make sure both cpu and gpu are added as
  * resources for search usage in the Milvus configuration file.
  *
- * 6. IVF_PQ - Indexing method built based on product quantization. The input vectors are split into distinct
- * sub-vectors which are then quantized separately. Vector size can be reduced to 1/8 or 1/16 of the original size.
- * If you choose this index, note that there is an inevitable trade-off between memory and search accuracy.
  * </pre>
  */
 public enum IndexType {
@@ -56,7 +53,6 @@ public enum IndexType {
   IVF_SQ8(3),
   NSG(4),
   IVF_SQ8_H(5),
-  IVF_PQ(6),
 
   UNKNOWN(-1);
 

+ 1 - 1
src/main/java/io/milvus/client/MilvusClient.java

@@ -22,7 +22,7 @@ package io.milvus.client;
 /** The Milvus Client Interface */
 public interface MilvusClient {
 
-  String clientVersion = "0.2.1";
+  String clientVersion = "0.2.2";
 
   /** @return the current Milvus client version */
   default String getClientVersion() {