Similar issues does not work for Chinese language if less than 3 characters
Summary
The feature similar issues does not work if the user typed less than 3 Chinese characters
Steps to reproduce
- Create a new issue in a project with issue title in Chinese with 4 characters.
- Create a new issue by typing first 2 Chinese characters of the previously created issue
Example Project
https://gitlab.com/xiaogang_cn/ruby-on-rails
What is the current bug behavior?
No prompt for similar issues
What is the expected correct behavior?
Similar issues should show up
Relevant logs and/or screenshots
Output of checks
This happens on gitlab.com.
Results of GitLab environment info
N/A
Results of GitLab application Check
N/A
Possible fixes
N/A
/cc @qianzhangxa
The cause might be similar to gitlab-org/gitlab-foss#40379 (closed).