You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: 4 review issues — case-sensitive OR, score ORDER BY, per-row alias collision, extra arg validation
P1 fixes:
- Lowercase 'or' no longer parsed as boolean OR in FULLTEXT; only uppercase
'OR' triggers union semantics ('bank or america' stays as AND search)
- ORDER BY score() alias DESC omits invalid SORTBY (RediSearch sorts by
relevance by default); ORDER BY score ASC raises ValueError
P2 fixes:
- Score alias collision detection now checks per-row instead of first-row-only,
preventing field overwrite when later rows have different field sets
- fulltext() rejects >4 args, fuzzy() rejects >3 args (was silently ignoring)
- Applied to both sync and async executor paths
Add 8 new tests (384 total)
0 commit comments