Commit cfc2f6c1 authored by zhengyaoqiu's avatar zhengyaoqiu

优化

parent 680d0550
...@@ -20,7 +20,7 @@ class TestCreateCollectionFunction(unittest.TestCase): ...@@ -20,7 +20,7 @@ class TestCreateCollectionFunction(unittest.TestCase):
index_params = { index_params = {
"index_type": "HNSW", "index_type": "HNSW",
"metric_type": "IP", # 内积相似度 "metric_type": "IP", # 内积相似度
"params": {"M": 32, "efConstruction": 400} "params": {"M": 40, "efConstruction": 600, "ef": 400}
} }
MilvusClient().connect().create_index("pc3", "vector", index_params) MilvusClient().connect().create_index("pc3", "vector", index_params)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment