FT.CURSOR DEL
Syntax
FT.CURSOR DEL index cursor_id
- Available in:
- Redis Open Source / Search 1.1.0
- Time complexity:
- O(1)
- ACL categories:
-
@read,@search, - Compatibility:
- Redis Enterprise and Redis Cloud compatibility
Delete a cursor
Required arguments
index
is index name.
cursor_id
is id of the cursor.
Examples
Delete a cursor
redis> FT.CURSOR DEL idx 342459320
OKCheck that the cursor is deleted.
127.0.0.1:6379> FT.CURSOR DEL idx 342459320
(error) Cursor does not existRedis Enterprise and Redis Cloud compatibility
| Redis Enterprise |
Redis Cloud Flexible & Annual |
Redis Cloud Free & Fixed |
Notes |
|---|---|---|---|
| ✅ Supported | ✅ Supported | ✅ Supported |
Return information
One of the following:
- Simple string reply:
OKif executed correctly. - Simple error reply in these cases: cursor does not exist.