mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment of parser file on benchmark (#10455)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/10443/head^2
parent
2d88cc45b4
commit
d58feebb28
|
@ -63,6 +63,7 @@ def parse_ann_collection_name(collection_name):
|
|||
|
||||
|
||||
def search_params_parser(param):
|
||||
""" parser params of search interface and return top_ks, nqs, nprobes"""
|
||||
# parse top-k, set default value if top-k not in param
|
||||
if "top_ks" not in param:
|
||||
top_ks = [10]
|
||||
|
|
Loading…
Reference in New Issue