Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CA7EAEA58 for ; Thu, 7 Feb 2013 09:19:18 +0000 (UTC) Received: (qmail 71038 invoked by uid 500); 7 Feb 2013 09:19:16 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 70852 invoked by uid 500); 7 Feb 2013 09:19:15 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 70795 invoked by uid 99); 7 Feb 2013 09:19:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Feb 2013 09:19:13 +0000 Date: Thu, 7 Feb 2013 09:19:13 +0000 (UTC) From: =?utf-8?Q?Jan_H=C3=B8ydahl_=28JIRA=29?= To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-4412) LanguageIdentifier lcmap for language field MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-4412?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Jan H=C3=B8ydahl updated SOLR-4412: ------------------------------ Description:=20 For some languages, the detector will detect sub-languages, such as LangDet= ect detecting zh-tw or zh-cn for Chinese. Tika detector only detects zh. To= day you can use {{lcmap}} to map these two into one code, e.g. {{langid.map= .lcmap=3Dzh-cn:zh zh-tw:zh}}. But the {{langField}}=C2=A0output is not chan= ged. We need an option for {{langField}} as well. was: For some languages, the detector will detect sub-languages, such as LangDet= ect detecting zh-tw or zh-cn for Chinese. Tika detector only detects zh. To= day you can use {{{lcmap}}} to map these two into one code, e.g. {{{langid.= map.lcmap=3Dzh-cn:zh zh-tw:zh}}}. But the {{{langField}}}=C2=A0output is no= t changed. We need an option for {{{langField}}} as well. =20 > LanguageIdentifier lcmap for language field > ------------------------------------------- > > Key: SOLR-4412 > URL: https://issues.apache.org/jira/browse/SOLR-4412 > Project: Solr > Issue Type: Bug > Components: contrib - LangId > Affects Versions: 4.1 > Reporter: Jan H=C3=B8ydahl > Fix For: 4.2, 5.0 > > > For some languages, the detector will detect sub-languages, such as LangD= etect detecting zh-tw or zh-cn for Chinese. Tika detector only detects zh. = Today you can use {{lcmap}} to map these two into one code, e.g. {{langid.m= ap.lcmap=3Dzh-cn:zh zh-tw:zh}}. But the {{langField}}=C2=A0output is not ch= anged. > We need an option for {{langField}} as well. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org