From 92d98513525f457f06c31dfa1496f875e7b0a438 Mon Sep 17 00:00:00 2001 From: SimFG <1142838399@qq.com> Date: Tue, 26 Sep 2023 15:28:15 +0800 Subject: [PATCH] Fix the tls example Signed-off-by: SimFG Signed-off-by: SimFG <1142838399@qq.com> --- examples/example_tls1.py | 6 +++--- examples/example_tls2.py | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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)