lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Hubold (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-5598) LanguageIdentifierUpdateProcessor ignores all but the first value of multiValued string fields
Date Thu, 02 Jan 2014 12:22:50 GMT

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

Andreas Hubold updated SOLR-5598:
---------------------------------

    Attachment: SOLR-5598.patch

patch with simple fix attached

> 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
>         Attachments: 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


Mime
View raw message