[test]Update index type (#22594)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/22583/head
zhuwenxing 2023-03-07 10:27:54 +08:00 committed by GitHub
parent 2ad441e3b9
commit a147da140a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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))

View File

@ -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):