You probably want to write a custom Transformer.  See: 
http://wiki.apache.org/solr/DIHCustomTransformer

Or maybe a custom Evaluator.  See:  
http://wiki.apache.org/solr/DataImportHandler#Evaluators_-_Custom_formatting_in_queries_and_urls

Possibly one or more of the built-in Transformers will do the job.  See:  
http://wiki.apache.org/solr/DataImportHandler#Transformer

James Dyer
Ingram Content Group
(615) 213-4311


-----Original Message-----
From: Prasi S [mailto:prasi1...@gmail.com] 
Sent: Tuesday, September 24, 2013 5:26 AM
To: solr-user@lucene.apache.org
Subject: Solr DIH call a java class

Hi,
Can we call a java class inside a solr ddata-config.xml file similar to
calling a script function.

I have few manipulations to do before sending data via dataimporthandler.
For each row, can I pass that row to a java class in the same way we pass
it to a script function?


Thanks,
Prasi

Reply via email to