diff --git a/examples/example_tls1.py b/examples/example_tls1.py index 397cbc83b..8879ac750 100644 --- a/examples/example_tls1.py +++ b/examples/example_tls1.py @@ -150,12 +150,12 @@ def main(): # search search(collection, _VECTOR_FIELD_NAME, _ID_FIELD_NAME, vectors[:3]) - # drop collection index - drop_index(collection) - # release memory release_collection(collection) + # drop collection index + drop_index(collection) + # drop collection drop_collection(_COLLECTION_NAME) diff --git a/examples/example_tls2.py b/examples/example_tls2.py index 7dc0a6eb3..211f503ab 100644 --- a/examples/example_tls2.py +++ b/examples/example_tls2.py @@ -152,12 +152,12 @@ def main(): # search search(collection, _VECTOR_FIELD_NAME, _ID_FIELD_NAME, vectors[:3]) - # drop collection index - drop_index(collection) - # release memory release_collection(collection) + # drop collection index + drop_index(collection) + # drop collection drop_collection(_COLLECTION_NAME)