Browse Source

Merge pull request #16 from youny626/branch-0.5.0

add IVF_SQ8_H index type
Jin Hai 5 years ago
parent
commit
5f894f88a4

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@
     
 ### New Feature
 ---
+- \#16: add IVF_SQ8_H index type
 
 ### Task
 ---

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

@@ -10,6 +10,7 @@ public enum IndexType {
     IVFLAT(2),
     IVF_SQ8(3),
     MIX_NSG(4),
+    IVF_SQ8_H(5),
 
     UNKNOWN(-1);
 

+ 0 - 1
src/main/java/io/milvus/client/Response.java

@@ -48,7 +48,6 @@ public class Response {
             return code;
         }
 
-        //TODO: Potential performance issue?
         public static Status valueOf(int val) {
             Optional<Status> search = Arrays.stream(values())
                                             .filter(status -> status.code == val)