mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[test]Update index type (#22594)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
2ad441e3b9
commit
a147da140a
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user