lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl (JIRA) <>
Subject [jira] [Commented] (SOLR-4412) LanguageIdentifier lcmap for language field
Date Thu, 07 Feb 2013 09:23:14 GMT


Jan Høydahl commented on SOLR-4412:

Proposal is a new option:

Same syntax as If set, will affect both {{langField}} and field-name mappings.
So if you want these to be different, specify both. This way the API is backwards compatible.
> LanguageIdentifier lcmap for language field
> -------------------------------------------
>                 Key: SOLR-4412
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - LangId
>    Affects Versions: 4.1
>            Reporter: Jan Høydahl
>             Fix For: 4.2, 5.0
> For some languages, the detector will detect sub-languages, such as LangDetect 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. {{ zh-tw:zh}}. But the {{langField}} output
is not changed.
> 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 administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message