-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Problem
Boolean field queries return incorrect results on Redis 8, ignoring the boolean filter entirely. The same queries work correctly on Redis 7.4.x.
Example
filter_expression = (MyModel.flag == False)
query = MyModel.find(filter_expression).sort_by("-created_at")
# On Redis 8: Returns ALL records including flag=True
# On Redis 7.4: Correctly filters to only flag=False recordsImpact
This is a major compatibility issue for users on Redis 8 (released May 2025).
Related
- Querying over indexed bool fields fails on Redis 8, results ignore boolean expression (but it works well/as expected with Redis 7.4.x) #712 (original user report)
Investigation Needed
- Determine if Redis 8 changed boolean indexing behavior
- Check if our TAG-based boolean indexing needs adjustment for Redis 8
- May need to test with different boolean storage formats
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working