diff --git a/tests/testcases/test_restore_backup.py b/tests/testcases/test_restore_backup.py index a68ac368..f5d8ed06 100644 --- a/tests/testcases/test_restore_backup.py +++ b/tests/testcases/test_restore_backup.py @@ -989,7 +989,7 @@ def test_milvus_restore_back_with_sparse_vector_text_match_datatype(self, includ c.load() if enable_text_match: res = c.query( - expr=f"TextMatch(text, '{token}')", + expr=f"text_match(text, '{token}')", output_fields=["text"], limit=1 )