binbin
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=) ```
/lgtm
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', ......
@jaime0815 Hello, could you have a look? Thanks.
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`.   @SimFG this...