Skip to content

Make boolean search keywords case-insensitive - #1177

Open
cycsmail wants to merge 1 commit into
bpatrik:masterfrom
cycsmail:case-insensitive-boolean-keywords-1090
Open

Make boolean search keywords case-insensitive#1177
cycsmail wants to merge 1 commit into
bpatrik:masterfrom
cycsmail:case-insensitive-boolean-keywords-1090

Conversation

@cycsmail

@cycsmail cycsmail commented Aug 2, 2026

Copy link
Copy Markdown

Fixes #1090

The query parser only matched the and/or boolean keywords with exact casing, so OR and AND (or mixed case like Or) weren't recognised. I added a small case-insensitive variant of startsWith and use it when matching those keywords during tokenization.

Added a unit test covering the case-insensitive variants. The SearchQueryParser unit tests pass locally (19 passing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: Search query language is case sensitive for boolean keywords

1 participant