[
https://issues.apache.org/jira/browse/SOLR-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666637#action_12666637
]
Shalin Shekhar Mangar commented on SOLR-979:
--------------------------------------------
Edward, multiple values can be specified as a Java Collection object. So
basically you need to create List of your values and add them for to the map
for your field. I'm sure there is a way to do that with scripts, I just don't
know how. Perhaps the javascript list is converted automatically to Java List
by Rhino (the default javascript engine in JDK6)?
> 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.