[skip ci] Add comments of query func on benchmark (#9405)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/9412/head
wt 2021-10-07 18:05:05 +08:00 committed by GitHub
parent 77c9a8daa1
commit 6194540cd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ class MilvusClient(object):
@time_wrapper
def query(self, vector_query, filter_query=None, collection_name=None, timeout=300):
""" This method corresponds to the search method of milvus """
tmp_collection_name = self._collection_name if collection_name is None else collection_name
must_params = [vector_query]
if filter_query: