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

DIH TemplateTransformer does not support multiple values

    XMLWordPrintableJSON

Details

    Description

      The DIH TemplateTransformer does not support multiple templates with the same column name. Rather than creating a List of values as it should do in this case, the value of the last <field> tag with the same column name replaces the values of previous transforms for that column. The reason is that it uses a single HashMap to store the transformations with a key on column name. The fix is to detect if a column has previously been transformed within the same field set and to create a List<Object> for that column when this occurrs.

      Attachments

        1. SOLR-9558.patch
          5 kB
          Ted Sullivan

        Activity

          People

            noble.paul Noble Paul
            tedsullivan Ted Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified