FT.CURSOR DEL

Syntax
FT.CURSOR DEL index cursor_id
Available in:
Redis Stack / Search 1.1.0
Time complexity:
O(1)

Delete a cursor

Examples

Required arguments

index

is index name.

cursor_id

is id of the cursor.

Returns

FT.CURSOR DEL returns a simple string reply OK if executed correctly, or an error reply otherwise.

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

See also

FT.CURSOR READ

RediSearch


RATE THIS PAGE
Back to top ↑