[Search] FTS5 Porter tokenizer doesn't support Chinese/CJK search #2395
Unanswered
GameHoo
asked this question in
Ideas and Issue Triage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
The current full-text search implementation uses the
portertokenizer for SQLite FTS5, which only works for English. This makes searching for Chinese (and other CJK languages)content impossible.
Steps to Reproduce
Expected Behavior
Search should return cards that contain the Chinese keywords in their title or description.
Current Behavior
Chinese search returns no results, even when the exact text exists in cards.
Technical Analysis
The issue is in the FTS5 table creation (see
db/migrate/20251120110206_add_search_records.rb):Beta Was this translation helpful? Give feedback.
All reactions