Can't search query correctly with non-ASCII chars
See original GitHub issueIssue Summary
Can’t search query correctly with non-ASCII chars.
Steps to Reproduce
- Make query which has non-ASCII chars name or description
- Search with non-ASCII chars
e.g.
There is a query which has non-ASCII chars ユーザ
.
Search with ユーザ
, then no quries in the result.
When I search with ユー
, then hit correctly.
I guess that Query.search
(in #2041) has changed this behavior. But I have no idea what we should fix it with keeping full text search feature.
Technical details:
- Redash Version: master
- Browser/OS: Version 67.0.3396.87 (Official Build) (64-bit)
- How did you install Redash: Docker
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Find non-ASCII characters in varchar columns using SQL Server
Here is a solution for the single column search using PATINDEX. It also displays the StartPosition, InvalidCharacter and ASCII code.
Read more >How to Fix Non-ASCII Characters in a URL - Sitechecker
Open the code editor. Press Ctrl + F to run a Find or Search command. Enter [^\x00-\x7F]+ in the search box. Choose “ ......
Read more >How to check for Non-Ascii Characters - DBA Stack Exchange
I tried using PATINDEX and have run into the following issue. Checking the lower range worked correctly. SELECT * FROM mbrnotes WHERE PATINDEX(' ......
Read more >AD LDS - LDAP query with non ascii character gets re ...
AD LDS - LDAP query with non ascii character gets re-interpreted and returns incorrect results. The results contain both results where sn ...
Read more >How to replace ASCII special characters in SQL Server
There are some punctuation marks (esp. the em dash, which is "& #151;" in HTML) and letters with diacritical marks in other languages...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@deecay adding an option to enable simpler search sounds good to me. Considering the global usage of Redash, I expect this to be popular enough to put in
Organization Settings
UI.Hi @jezdez,
Could we bring back the naive and slow
LIKE
search as an option? Maybe an ENV variableLEGACY_FULL_TEXT_SEARCH
or something to switch between two ways of searching?For me, being able to search in multi-byte is far more critical than having faster and more modern tsvector textsearch.