Re: How to loop through the DataImportHandler query results?

2012-02-16 Thread Mikhail Khludnev
Chantal, if you prefer java here is http://wiki.apache.org/solr/DIHCustomTransform On Thu, Feb 16, 2012 at 7:24 PM, Chantal Ackermann < chantal.ackerm...@btelligent.de> wrote: > If your script turns out too complex to maintain, and you are developing > in Java, anyway, you could extend EntityP

Re: How to loop through the DataImportHandler query results?

2012-02-16 Thread Chantal Ackermann
If your script turns out too complex to maintain, and you are developing in Java, anyway, you could extend EntityProcessor and handle the data in a custom way. I've done that to transform a datamart like data structure back into a row based one. Basically you override the method that gets the data

Re: How to loop through the DataImportHandler query results?

2012-02-16 Thread Mikhail Khludnev
Hi Baranee, Some time ago I played with http://wiki.apache.org/solr/DataImportHandler#ScriptTransformer - it was a pretty good stuff. Regards On Thu, Feb 16, 2012 at 3:53 PM, K, Baraneetharan wrote: > To avoid that we don't want to mention the column names in the field tag , > but want to writ

How to loop through the DataImportHandler query results?

2012-02-16 Thread K, Baraneetharan
Hi Solr community, I'm new to Solr and DataImportHandler., I've a requirement to fetch the data from a database table and pass it to solr. Part of existing data-config.xml and solr schema.xml are given below, data-config.xml