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

Fuzzy search with underscore returns wrong results #7694

Closed
gaoliang opened this issue Jan 22, 2022 · 0 comments · May be fixed by #7695
Closed

Fuzzy search with underscore returns wrong results #7694

gaoliang opened this issue Jan 22, 2022 · 0 comments · May be fixed by #7695
Labels
expired No active for a long time

Comments

@gaoliang
Copy link

Describe the bug
Fuzzy search with underscore returns wrong results

Expected behavior
Fuzzy search with underscore should match underscore exactly

Acutally behavior
The query treats the underscore as an arbitrary single-character match in SQL LIKE.
For example, when search 'test_*', got both 'test23' and 'test_1'
image

How to Reproduce
create config with data-id 'test23' and 'test_1', then search with 'test_*'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
expired No active for a long time
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants