[
https://issues.apache.org/jira/browse/SOLR-9558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15522252#comment-15522252
]
ASF subversion and git services commented on SOLR-9558:
-------------------------------------------------------
Commit 65439e261e49484edc474fd56bf4a67cf70ed038 in lucene-solr's branch
refs/heads/master from [~noble.paul]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=65439e2 ]
SOLR-9558: DIH TemplateTransformerto to support multivalued fields
> DIH TemplateTransformer does not support multiple values
> --------------------------------------------------------
>
> Key: SOLR-9558
> URL: https://issues.apache.org/jira/browse/SOLR-9558
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: contrib - DataImportHandler
> Affects Versions: 6.2
> Reporter: Ted Sullivan
> Assignee: Noble Paul
> Priority: Minor
> Fix For: trunk
>
> Attachments: SOLR-9558.patch
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]