mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
[skip e2e]Update the method whether vector field is indexed (#27820)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
d52a74f78f
commit
5247ea3fd1
@ -133,7 +133,7 @@ class TestActionSecondDeployment(TestDeployBase):
|
||||
is_vector_indexed = False
|
||||
index_infos = [index.to_dict() for index in collection_w.indexes]
|
||||
for index_info in index_infos:
|
||||
if "metric_type" in index_info.keys():
|
||||
if "metric_type" in index_info.keys() or "metric_type" in index_info["index_param"]:
|
||||
is_vector_indexed = True
|
||||
break
|
||||
if is_vector_indexed is False:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user