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

DIH TemplateTransformer does not support multiple values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.2
    • Fix Version/s: 6.3, 7.0
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      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

          Activity

            People

            • Assignee:
              noble.paul Noble Paul
              Reporter:
              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