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

Django Watson can't search items with special characters with MySQL (UTF-8/InnoDB) #237

Open
kibershmiber opened this issue Feb 12, 2018 · 4 comments

Comments

@kibershmiber
Copy link

Hi, guys!))
There is a big problem for me know with Watson(( Our searched items all contain "/" and "-" characters, and they can't be found through DW. With plain SQL they can be found perfect. What I should do in that case?

@kibershmiber
Copy link
Author

Comooooone guys...
image

@valentijnscholten
Copy link

This is still a big issue, basically rendering the search powerless if you have '-' or similar in your titles (or contents)

@valentijnscholten
Copy link

valentijnscholten commented Sep 13, 2020

Although it sounds like a bug in watson, it's more of a limitation of MySQL:

Easiest workaround is to put the search query (or the word with dashes inside the search query) inside double quotes. This won't fix everything but at least you will get the results.

@etianen
Copy link
Owner

etianen commented Sep 15, 2020

I'd take a MR that you think fixes this.

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

No branches or pull requests

3 participants