Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28882

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

    Details

      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.

        Attachments

          Activity

            People

            Assignee:
            michael.saechang Michael Saechang
            Reporter:
            christopher.lui Christopher Lui
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              8 years, 51 weeks, 1 day ago

                Packages

                Version Package
                6.0.X EE
                6.1.1 CE GA2
                6.1.20 EE GA2
                6.2.0 CE M2