binbin

Results 247 comments of binbin

1. with flush: DISKANN with L2 is successful ``` >>> collection.flush() >>> index_param = {"index_type": "DISKANN", "metric_type": "L2", "params": {}} >>> collection.create_index("float_vector", index_param, index_name="index_name_1") Status(code=0, message=) >>> ``` 2. without...

And from milvus log, it says DISKANN did not support "COSINE", but from the design doc, it says support @cydrain am I right? ``` I20230424 03:50:27.760720 101 factory.cc:20] [KNOWHERE][Create][milvus] create...

Verified and fixed: pymilvus: 2.4.0.dev69 milvus: master-20230608-d531b177 results: ``` >>> collection.flush() >>> index_param = {"index_type": "DISKANN", "metric_type": "COSINE", "params": {}} >>> collection.create_index("float_vector", index_param, index_name="index_name_1") Status(code=0, message=) ```

Reproduced on master latest image: master-20230425-4fb8919a: enabled authorization function: ``` root@binbin-user-pwd-vsnkk-milvus-standalone-6f7f8b88-g6tcr:/milvus/configs# cat milvus.yaml |grep authorizationEnabled authorizationEnabled: true ``` 1. root: ``` >>> connections.connect(alias='default', ... host='', ... port='19530', ... user='root', ......

This issue **Only** exists on **master** branch, it is good on 2.2.0 and 2.2.6 branch: 2.2.6 and 2.2.0: ``` >>> connections.connect(alias='default', ... host='', ... port='19530', ... user='root', ... password='2', ......

> @binbinlv the `root` user's default password is `Milvus`. And the reason of listing collection is incorrect password, because new user's password is `binbin123`, not `2`. ![image](https://user-images.githubusercontent.com/21985684/234264090-6ba7e9e8-7ad0-4788-bb1c-4cc5ed3fd8bb.png) ![image](https://user-images.githubusercontent.com/21985684/234264287-27e5de2a-2081-4aa9-a223-cd481b57b75f.png) @SimFG this...