Neha, If you just need to combine them .. w/o further logic,
http://wiki.apache.org/solr/DataImportHandler#TemplateTransformer
should be enough

The first Example for ScriptTransformer should be pretty clear, no?
The Function (which you define as ScriptTransformer) will retrieve the
current row as parameter, you could work on this row and have to
return it finally.

in between, you could modify the row .. add, modify, remove values,
the row object is a java.util.HashMap instance

Regards
Stefan

On Tue, Mar 29, 2011 at 9:50 PM, neha <pneha...@yahoo.com> wrote:
> Thank you for ur reply, but is there more documentation on Script
> Transformer?? I am newbie to Solr DIH. Can I send two rows as parameters to
> the script transformer function. Also what is the syntax to call the script
> transformer in the DIH field?? The documentation is not very clear about it.
>
> Thanks,
> Neha
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Concatenate-multivalued-DIH-fields-tp2749988p2750237.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to