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,
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 existReturn information
One of the following:
- Simple string reply:
OKif executed correctly. - Simple error reply in these cases: cursor does not exist.