TIL in RediSearch, if you are running an FT.AGGREGATE with a SORTBY, if you apply no MAX, it will only sort the first 10 records. github.com/redis/redis-... One of the really neat things about RediSearch is that it makes you really think about how you're querying your data in #redis.
Post
github.comUnusual behavior of 'Count' with 'SORTBY' · Issue #502 · redis/redis-om-dotnetHi when I try use Count after Orderby cause return wrong result. Sample code is: /* * Redis-OM: 0.7.6 * dotnet core 8.0 * OS Program Run: Windows 10 22H2 * Redis Info: * redis_version:7.4.1 * redis...
Then when using FT.SEARCH to query your data you use the RediSearch query syntax to build a filter for your documents. FT.SEARCH forces you to think about how you're going to paginate your data, because by default it only returns the first 10 records matching your filter. Why's that you might ask?
0 reposts0 likes