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
OK
Check that the cursor is deleted.
127.0.0.1:6379> FT.CURSOR DEL idx 342459320
(error) Cursor does not exist
Return information
One of the following:
- Simple string reply:
OK
if executed correctly. - Simple error reply in these cases: cursor does not exist.