Skip to content

Commit

Permalink
Fix the tls example (#1723)
Browse files Browse the repository at this point in the history
Signed-off-by: SimFG <[email protected]>
Signed-off-by: SimFG <[email protected]>
  • Loading branch information
SimFG authored Sep 26, 2023
1 parent 3b270e1 commit 5634908
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/example_tls1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions examples/example_tls2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5634908

Please sign in to comment.