[skip ci] Update comments of parser on benchmark (#13423)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/13428/head
wt 2021-12-15 12:13:09 +08:00 committed by GitHub
parent 3d9f7faeb6
commit 22c2411fb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ def parse_ann_collection_name(collection_name):
def search_params_parser(param):
""" parser params of search interface and return top_ks, nqs, nprobes"""
""" 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]