Taiwanese language is mapped to ThaiAnalyzer in Lucene, should be mapped to CJKAnalyzer
Description
Activity
Show:

Matthew Lee August 17, 2012 at 5:25 PM
Committed on:
Portal 6.1.x CE GIT ID: 211deeb32b14c26d87e119041c9664c38fc5d7f9.
Portal 6.2.x GIT ID: 4fbe1e8940bd1e26faeca3bf1541a7f777b061f4.
Fixed
Details
Assignee
Michael SaechangMichael Saechang(Deactivated)Reporter
Christopher LuiChristopher Lui(Deactivated)Branch Version/s
6.1.x6.0.xBackported to Branch
CommittedGit Pull Request
Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
6.1.x
6.0.x
Backported to Branch
Committed
Git Pull Request
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created July 26, 2012 at 3:24 PM
Updated June 24, 2023 at 3:58 PM
Resolved July 26, 2012 at 5:48 PM
Reproduced in Trunk Rev118551
In search-spring.xml, there are several language mappings for Lucene.
For some reason, Taiwanese (Traditional Chinese) is mapped to use the ThaiAnalyzer, it should be CJKAnalyzer, like how Chinese (Simplied), Japanese, and Korean is mapped.
On line 168, here is the issue:
<entry key=".*_zh_TW" value-ref="org.apache.lucene.analysis.th.ThaiAnalyzer" />
This prevents you from fetching Taiwanese language search results.