I am using doing a query to fetch matched query documents, I am getting 10 records also along with a cursor id * FT.AGGREGATE index query WITHSCORES SCORER BM25 SORTBY 0 LOAD * WITHCURSOR COUNT 10

But when I do the CURSOR query I am getting an empty array * FT.CURSOR READ index cursor_id COUNT 10

When I used SORTBY 0 in the first query then records are getting sorted by their score which is correct but with the cursor which I got from the first query I am not getting 2nd iteration.

The CURSOR query is working fine when I am not using SORTBY 0 in first query.

Anyone help me here what should I do?

Comment From: oranagra

Please open in https://github.com/RediSearch/RediSearch/issues

Comment From: vijaydhokrat

Thanks

Comment From: vijaydhokrat

@oranagra Added in - https://github.com/RediSearch/RediSearch/issues