未验证 提交 a147da14 编写于 作者: Z zhuwenxing 提交者: GitHub

[test]Update index type (#22594)

Signed-off-by: Nzhuwenxing <wenxing.zhu@zilliz.com>
上级 2ad441e3
......@@ -16,9 +16,8 @@ from pymilvus import (
pymilvus_version = pymilvus.__version__
all_index_types = ["IVF_FLAT", "IVF_SQ8", "IVF_PQ", "HNSW", "ANNOY"]
default_index_params = [{"nlist": 128}, {"nlist": 128}, {"nlist": 128, "m": 16, "nbits": 8},
{"M": 48, "efConstruction": 100}, {"n_trees": 50}]
all_index_types = ["IVF_FLAT", "IVF_SQ8", "HNSW"]
default_index_params = [{"nlist": 128}, {"nlist": 128}, {"M": 48, "efConstruction": 100}]
index_params_map = dict(zip(all_index_types, default_index_params))
......
......@@ -8,7 +8,7 @@ from loguru import logger
from pymilvus import connections, Collection
all_index_types = ["IVF_FLAT", "IVF_SQ8", "IVF_PQ", "HNSW", "ANNOY"]
all_index_types = ["IVF_FLAT", "IVF_SQ8", "HNSW"]
def read_benchmark_hdf5(file_path):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册