I'm using RediSearch in my project which has an index with over 13 millions documents. I need to fetch latest documents if there is no filter provided by users. My index schema has a NUMERIC field with SORTABLE flag and I've tried to run following query.
FT.SEARCH media * SORTBY media_id DESC LIMIT 0 10
It doesn't return a response for a while and I usually terminate the query.
Is there a way to get last documents in an acceptable time?