[ 
https://issues.apache.org/jira/browse/SOLR-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12799186#action_12799186
 ] 

Uri Boness commented on SOLR-1716:
----------------------------------

There is still one thing to improve here. Right now a ScriptTransformer is 
created for each function in the script, which means an engine is created for 
each function. This can be optimized by creating one script engine per 
EntityProcessor which each ScriptTransformer will use to execute a dedicated 
function.

> Add logging support for ScriptTransformer
> -----------------------------------------
>
>                 Key: SOLR-1716
>                 URL: https://issues.apache.org/jira/browse/SOLR-1716
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Uri Boness
>             Fix For: 1.5
>
>         Attachments: SOLR-1716.patch, SOLR-1716.patch
>
>
> Currently it's very hard to debug the logic embedded in the script ran by the 
> ScriptTransformer. There should be a possibility to add a logger to the 
> function signature, which can be used for logging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to