[
https://issues.apache.org/jira/browse/SOLR-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666861#action_12666861
]
Noble Paul commented on SOLR-979:
---------------------------------
you can put only a valid java collection in the map
try this
{code}
var arr = new java.util.ArrayList();
arr.add('hello');
arr.add('world');
row.put('terms',arr);
{code}
HTH
> add ability to specify multiple values for a Key in a Script transformer
> ------------------------------------------------------------------------
>
> Key: SOLR-979
> URL: https://issues.apache.org/jira/browse/SOLR-979
> Project: Solr
> Issue Type: New Feature
> Components: contrib - DataImportHandler
> Environment: openJDK 1.6.0 b12, CentOS 5 x86, Jetty 6
> Reporter: Edward Rudd
>
> In writing my DIH configuration for my Knowledge base code I ran across a
> need to have a script transformer create multiple values for a single schema
> field, and the Map object does not allow this (unless I can put an array as
> the value for that key).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.