Skip to content

Commit

Permalink
Release new docs to master
Browse files Browse the repository at this point in the history
  • Loading branch information
Milvus-doc-bot authored and Milvus-doc-bot committed Jan 26, 2025
1 parent 3059db4 commit 6a5d3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2.5.x/site/en/userGuide/collections/modify-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ curl --request POST \​

## Set Collection TTL​

If the data of a collection needs to be cleaned after a specific period, consider setting its Time-To-Live (TTL) in seconds. Once the TTL times out, Milvus deletes all entities from the collection. The deletion is asynchronous, indicating that searches and queries are still possible before the deletion is complete.​
To automatically remove expired data from a Milvus collection, you can set the collection’s Time-To-Live (TTL) in seconds. Once the TTL expires, Milvus marks the data as expired and schedules it for asynchronous deletion. As a result, the data may still appear in search results until the deletion process is fully completed.

The following code snippet demonstrates how to change the TTL of a collection.​

Expand Down

0 comments on commit 6a5d3d3

Please sign in to comment.