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...
First, for data modeling, you use FT.CREATE to create a secondary index on top of your data in Redis (either hashes or JSON). You need to consider the documents you want to index (we use prefixes for your keys to determine what you're indexing), then you specify precisely which fields to index.
0 reposts0 likes