mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 03:13:22 +08:00
[skip ci] Add comment of parser file on benchmark (#10455)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
parent
2d88cc45b4
commit
d58feebb28
@ -63,6 +63,7 @@ def parse_ann_collection_name(collection_name):
|
|||||||
|
|
||||||
|
|
||||||
def search_params_parser(param):
|
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
|
# parse top-k, set default value if top-k not in param
|
||||||
if "top_ks" not in param:
|
if "top_ks" not in param:
|
||||||
top_ks = [10]
|
top_ks = [10]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user