You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/02/05 13:16:10 UTC

[jira] [Updated] (SOLR-5598) LanguageIdentifierUpdateProcessor ignores all but the first value of multiValued string fields

     [ https://issues.apache.org/jira/browse/SOLR-5598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar updated SOLR-5598:
----------------------------------------

    Attachment: SOLR-5598.patch

Thanks Vitaliy!

This patch removes the empty exception javadoc line (it causes "Javadoc: Description expected after this reference" errors). I also removed "content" from the log warning.

In future, please run "ant precommit" from the checkout directory which will catch usage of forbidden-apis as well as javadoc errors.

> LanguageIdentifierUpdateProcessor ignores all but the first value of multiValued string fields
> ----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5598
>                 URL: https://issues.apache.org/jira/browse/SOLR-5598
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - LangId
>    Affects Versions: 4.5.1
>            Reporter: Andreas Hubold
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.7
>
>         Attachments: SOLR-5598.patch, SOLR-5598.patch, SOLR-5598.patch
>
>
> The LanguageIdentifierUpdateProcessor just uses the first value of the multiValued field to detect the language. 
> Method {{concatFields}} calls {{doc.getFieldValue(fieldName)}} but should instead iterate over {{doc.getFieldValues(fieldName)}}.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org