FT.CURSOR DEL

FT.CURSOR DEL index cursor_id
Railroad diagram for FT.CURSOR DEL
cursor_del(
    cursor_id: int  // The cursor ID to delete
) → str  // OK on success
Available in:
Redis Open Source / Search 1.1.0
Time complexity:
O(1)
ACL categories:
@read, @search,
Compatibility:
Redis Software and Redis Cloud compatibility

Delete a cursor

Examples

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

Redis Software and Redis Cloud compatibility

Redis
Software
Redis Cloud
Flexible & Annual
Redis Cloud
Free & Fixed
Notes
✅ Supported ✅ Supported ✅ Supported

Return information

One of the following:

One of the following:

See also

FT.CURSOR READ

RediSearch

RATE THIS PAGE
Back to top ↑
Morty Proxy This is a proxified and sanitized view of the page, visit original site.