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

problem with keyword search #501

Closed
anonymous-matomo-user opened this issue Jan 14, 2009 · 7 comments
Closed

problem with keyword search #501

anonymous-matomo-user opened this issue Jan 14, 2009 · 7 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@anonymous-matomo-user
Copy link

Hello, I’ve encountered a bug: when referer keyword is a of some exotic language (georgian in my case), search by keyword can’t find any of those georgian words, while they are displayed correctly in initial list of keywords.

I think the problem is more global, and is caused by incorrect collation of database. The solution, as fas as I can see, is to add an option of selecting db collation in installation procedure of Piwik, or just setting it staticaly to utf8_unicode_ci

Hope this information was helpful :)
Keywords: keyword search database collation

@robocoder
Copy link
Contributor

Database collation to be addressed in #310. (Sounds like this may be the cause of #435.)

@mattab
Copy link
Member

mattab commented Jan 14, 2009

_Hitman47, did you try changing the collation of your tables? Did it work better then? Thanks

@anonymous-matomo-user
Copy link
Author

hey Matt, I’ve changed the collation of all tables and fields in piwik db to unicode, but the problem is still there :( so, i’m going to log the queries that piwik sends to mysql server and I’ll write here as soon as I get any result.

@robocoder
Copy link
Contributor

re-opening.

@anonymous-matomo-user
Copy link
Author

Digging up mysql logs didn’t gave any result, I couldn’t find any query mentioning the word I specified in keyword search, neither english, nor georgian. But while I was browsing piwik database I found that referer_keyword is stored in url format, so, actually, the issue can be even not associated with database collation, more possibly – with php logic behind the search process – maybe someone forgot to apply urlencode to search phrase before using it in sql query?

@mattab
Copy link
Member

mattab commented Jan 29, 2009

duplicate of #435

@mattab
Copy link
Member

mattab commented Jan 29, 2009

hitman, please post a comment in #435 giving example of georgians earch engine for which searching the keywords don’t work in piwik. we really want to fix this issue. thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

3 participants