lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uri Boness (JIRA)" <>
Subject [jira] Commented: (SOLR-1716) Add logging support for ScriptTransformer
Date Mon, 11 Jan 2010 22:12:54 GMT


Uri Boness commented on SOLR-1716:

yeah, I thought about the global context as well, but this was just something that I implemented
anyway (as I needed it myself) and it works. You don't have to supply the logger, but if you
do you need to specify the full method signature, that is:
function(row, context, logger) {


but the following will work as well:
function(row, context) {

function(row) {


> Add logging support for ScriptTransformer
> -----------------------------------------
>                 Key: SOLR-1716
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Uri Boness
>             Fix For: 1.5
>         Attachments: 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.

View raw message