[
https://issues.apache.org/jira/browse/SOLR-979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12666736#action_12666736
]
Edward Rudd commented on SOLR-979:
----------------------------------
Well I did a quick test of adding a JS array to the Map and it came back as the
string representation of the Rhino array Java class. (ie.. not mapped to a java
collection)..
I'll have to hunt and read through the documentation for JDK 1.6's JS component
to figure out even how to create a collection within the JS.. Or add a check
in DIH to iterate through the JS array object as well.
I'll have more time to play w/ this on monday and see what I find out.
> 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.