Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-5598

LanguageIdentifierUpdateProcessor ignores all but the first value of multiValued string fields

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.1
    • Fix Version/s: 4.7, 6.0
    • Component/s: contrib - LangId
    • Labels:
      None

      Description

      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).

        Attachments

        1. SOLR-5598.patch
          2 kB
          Andreas Hubold
        2. SOLR-5598.patch
          8 kB
          Vitaliy Zhovtyuk
        3. SOLR-5598.patch
          8 kB
          Shalin Shekhar Mangar

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              ahubold Andreas Hubold
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: