Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix de-escaping too much in query parser #2427

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

trinity-1686a
Copy link
Contributor

fix broken test in quickwit-oss/quickwit#5093

@trinity-1686a trinity-1686a requested a review from fulmicoton June 7, 2024 14:19
Copy link
Contributor

@PSeitz PSeitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a clippy warning

let require_escape = |c: char| {
c.is_whitespace()
|| [
'-', '^', '`', ':', '{', '}', '"', '\'', '[', ']', '(', ')', '\\',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would probably make sense to move this to a const variable and give it a name

@trinity-1686a trinity-1686a merged commit 08b9fc0 into main Jun 10, 2024
4 checks passed
@trinity-1686a trinity-1686a deleted the trinity/fix-deescaping-too-much branch June 10, 2024 09:19
philippemnoel pushed a commit to paradedb/tantivy that referenced this pull request Aug 31, 2024
* fix de-escaping too much in query parser
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.

2 participants