未验证 提交 82da36d0 编写于 作者: W wt 提交者: GitHub

[skip ci] Add comments to query func (#7726)

Signed-off-by: Nwangting0128 <ting.wang@zilliz.com>
上级 f6aed2f6
......@@ -12,6 +12,7 @@ logger = logging.getLogger("milvus_benchmark.runners.locust_tasks")
class Tasks(TaskSet):
@task
def query(self):
""" search interface """
op = "query"
# X = utils.generate_vectors(self.params[op]["nq"], self.op_info["dimension"])
vector_query = {"vector": {self.op_info["vector_field_name"]: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册