forked from xapian/xapian
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not treat fullwidth Latin and symbols as unbroken script
Up until now all Unicode codepoints in the Halfwidth and Fullwidth Forms Block (U+FF00..U+FFEF) were treated as unbroken script. This causes terms that consist of fullwidth Latin characters in this range to not being lowercased before indexing, resulting in queries not finding such text. This patch changes word-breaker to only consider halfwidth Katakana and Hanul characters as unbroken script, handling all fullwidth Latin characters, numbers and symbols in this block as broken script.
- Loading branch information
Showing
3 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters