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: allow integer tokens in search queries #1701

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

dranikpg
Copy link
Contributor

Makes it possible to include integers into search, @status:1 is a common query I've seen where the status field is text/tag. I first though it can be somehow solved on the lexer level by making the int64 implicitly convertible to term, but it seems like its not easy doable with bison

Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
@talbii
Copy link
Contributor

talbii commented Aug 15, 2023

unrelated: build alpine-dev:latest has timed out again 😬

I re-ran the workflow.

@dranikpg dranikpg merged commit 66e11de into dragonflydb:main Aug 16, 2023
7 checks passed
@dranikpg dranikpg deleted the search-parser-int branch August 18, 2023 19:02
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