Taiwanese language is mapped to ThaiAnalyzer in Lucene, should be mapped to CJKAnalyzer

Description

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.

Activity

Show:

Matthew LeeAugust 17, 2012 at 5:25 PM

Committed on:
Portal 6.1.x CE GIT ID: 211deeb32b14c26d87e119041c9664c38fc5d7f9.
Portal 6.2.x GIT ID: 4fbe1e8940bd1e26faeca3bf1541a7f777b061f4.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Branch Version/s

6.1.x
6.0.x

Backported to Branch

Committed

Git Pull Request

Components

Priority

Zendesk Support

Created July 26, 2012 at 3:24 PM
Updated June 24, 2023 at 3:58 PM
Resolved July 26, 2012 at 5:48 PM