gotson / komga

Media server for comics/mangas/BDs/magazines/eBooks with API, OPDS and Kobo Sync support
https://komga.org
MIT License
3.89k stars 232 forks source link

[Bug] search doesn't work well with CJK #592

Closed v1006945671 closed 3 years ago

v1006945671 commented 3 years ago

Komga environment

Describe the bug

Some file names cannot be searched. Only the full name is OK.

Steps to reproduce

  1. Put comic books in the library,
  2. search for some names,Click search

Screenshots

路径 搜索不出结果 全称正常

Log file

If applicable, add an excerpt of the log file (max 20 lines), or a link to a gist containing the log file.

gotson commented 3 years ago

Could you paste here :

I can't type Chinese, so using your text will be easier for me to reproduce and test.

v1006945671 commented 3 years ago

Path:\DS220\comic\library\连载\不道德公會 file name:不道德公會
[不道德公會][河添太一 ][東立]Vol.04-搬运

azuki126-aa commented 3 years ago

The same phenomenon occurs even if the file name is Japanese. Also, if there is an English or symbol after Japanese in the file name, it will be recognized by the characters up to that point.

gotson commented 3 years ago

The same phenomenon occurs even if the file name is Japanese. Also, if there is an English or symbol after Japanese in the file name, it will be recognized by the characters up to that point.

Yes, CJK stands for Chinese Japanese Korean, it will impact any language without separators (space or others).

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 0.116.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: