Skip to content

Commit

Permalink
Fix the tls example
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 committed Sep 26, 2023
1 parent 1ae931f commit 92d9851
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 92d9851

Please sign in to comment.