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: handle parentheses properly in Boolean search queries
- Add _prepare_parenthetical_term() method to preserve parentheses for grouping
- Add _needs_quoting() helper method for cleaner quoting logic
- Fix parentheses being quoted incorrectly in Boolean expressions
- Ensure queries like "(hello AND world) OR test" work correctly
- Maintain proper quoting for hyphenated terms within parentheses
Fixes failing tests:
- test_boolean_operators_preserved
- test_hyphenated_terms_with_boolean_operators
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments