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

LanguageIdentifierUpdateProcessor ignores all but the first value of multiValued string fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.5.1
    • 4.7, 6.0
    • contrib - LangId
    • 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
          8 kB
          Shalin Shekhar Mangar
        2. SOLR-5598.patch
          8 kB
          Vitaliy Zhovtyuk
        3. SOLR-5598.patch
          2 kB
          Andreas Hubold

        Activity

          People

            shalin Shalin Shekhar Mangar
            ahubold Andreas Hubold
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: