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

Search is case-sensitive in non-English languages #3116

Open
matrixbot opened this issue Dec 16, 2023 · 0 comments
Open

Search is case-sensitive in non-English languages #3116

matrixbot opened this issue Dec 16, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 16, 2023

This issue has been migrated from #3116.


Description

It's hard to find the text you need in languages other than English as case becomes important.

Steps to reproduce

  • in a non-English room try to search for a word in lower and upper case
  • the results would be quite different
  • searching for an English word in upper and lower case shows the same result

Also, here the FTS language is hardcoded as English so no stemming is supported for other languages. I propose lowercasing the event text before inserting it and do the same on querying.

Version information

  • Homeserver: own homeserver
  • Version: 0.27.4
  • Install method: package manager
  • Platform: Debian 9.4 on a VDS
@matrixbot matrixbot changed the title Dummy issue Search is case-sensitive in non-English languages Dec 21, 2023
@matrixbot matrixbot reopened this Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant