mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments of query func on benchmark (#9405)
Signed-off-by: wangting0128 <ting.wang@zilliz.com>pull/9412/head
parent
77c9a8daa1
commit
6194540cd1
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue