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

There is some problem in search with chinese #276

Open
zero47 opened this issue Sep 3, 2020 · 4 comments
Open

There is some problem in search with chinese #276

zero47 opened this issue Sep 3, 2020 · 4 comments
Labels

Comments

@zero47
Copy link

zero47 commented Sep 3, 2020

Title: macOS 免费小工具
In keyworks:

  1. macOS √
  2. 免费 √
  3. 免费小工具 ×
@wadefelix
Copy link

wadefelix commented Feb 8, 2022

mariadb 不支持中文全文索引导致的

@fmartingr
Copy link
Member

mariadb 不支持中文全文索引导致的

Thank you for stepping up, is this something than can be fixed or worked around application side, or it requires the user to switch to a different database engine?

@natsukium
Copy link

I’m using PGroonga, a PostgreSQL extension, to use FTS in Japanese.
master...natsukium:shiori:groonga
It also supports Chinese.
For MariaDB, there is also an extension, Mroonga.

If you use the database without these extensions, you need to modify the application code like the following.
Sorry for the Japanese blog.
https://www.clear-code.com/blog/2020/12/22.html

@fmartingr
Copy link
Member

Hey @natsukium , thanks for the insights! If you are running this locally, have you noticed any caveheats running that extension? I'm unsure how many Shiori users require this in order to bundle it directly on our migrations or just provide a separate documentation page for people to install it on their own. Bundling it directly would require supporting it in all database systems, since want to provide the same features regardless of the database backend if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

4 participants