[skip ci] Add new func of benchmark (#11244)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
This commit is contained in:
wt 2021-11-04 18:05:00 +08:00 committed by GitHub
parent 23941954b1
commit aa892b18eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,15 @@ def get_server_tag(deploy_params):
return server_tag
def dict_update(source, target):
for key, value in source.items():
if isinstance(value, dict) and key in target:
dict_update(source[key], target[key])
else:
target[key] = value
return target
def search_param_analysis(vector_query, filter_query):
""" Search parameter adjustment, applicable pymilvus version >= 2.0.0rc7.dev24 """