FT.CURSOR READ

Syntax
FT.CURSOR READ index cursor_id [COUNT read_size]
Available in:
Redis Stack / Search 1.1.0
Time complexity:
O(1)

Read next results from an existing cursor

Examples

See Cursor API for more details.

Required arguments

index

is index name.

cursor_id

is id of the cursor.

[COUNT read_size]

is number of results to read. This parameter overrides COUNT specified in FT.AGGREGATE.

Return

FT.CURSOR READ returns an array reply where each row is an array reply and represents a single aggregate result.

Examples

Read next results from a cursor
127.0.0.1:6379> FT.CURSOR READ idx 342459320 COUNT 50

See also

FT.CURSOR DEL | FT.AGGREGATE

RediSearch


Rate this page