I'm looking for the Redisearch equivalent of the following query:
NOT (topic_id = '123' AND post_id <= '456')
I tried the following - it works but doesn't look like the most elegant solution:
-(@topic_id:[123 123] @post_id:[-inf 456])
topic_id
and post_id
are NUMERIC and SORTABLE
Thanks for your help!