Skip to content

feat: Support spaces between field name and value #2678

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

Conversation

Darkheir
Copy link
Contributor

Allow optional spaces between the field name and the value the same way Lucene allows them

@Darkheir Darkheir force-pushed the feat/query_grammar_space_between_field_and_value branch from fd0896d to d4b0901 Compare July 23, 2025 09:12
@fulmicoton
Copy link
Collaborator

@trinity-1686a can you review? Does it looks sound?

Copy link
Contributor

@trinity-1686a trinity-1686a left a comment

Choose a reason for hiding this comment

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

lgtm, afaict it doesn't introduce any problematic ambiguity
it makes redundant some of the multisplace handling in the lenient parser, but i'll clean that up myself eventually

@Darkheir
Copy link
Contributor Author

Darkheir commented Aug 4, 2025

Thank you for the review :)

I added few tests, but don't hesitate to ask for more if you see some edge cases that could not be covered by the existing ones.

@Darkheir Darkheir requested a review from trinity-1686a August 4, 2025 08:14
@trinity-1686a trinity-1686a merged commit 2e4615c into quickwit-oss:main Aug 11, 2025
3 checks passed
@trinity-1686a
Copy link
Contributor

thanks!

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.

3 participants