DIH - incorrect datasource being picked up by XPathEntityProcessor

2012-07-13 Thread girishyes
Hi, I am getting this error with DIH using a combination of SQLEntityProcessor and XPathEntityProcessor: Caused by: org.apache.solr.handler.dataimport.DataImportHandlerException: Unable to execute query: null Processing Document # 1 at org.apache.solr.handler.dataimport.DataImportHandlerEx

Re: DIH - incorrect datasource being picked up by XPathEntityProcessor

2012-07-15 Thread girishyes
Thanks Gora, I tried that but didn't help. Regards. -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-incorrect-datasource-being-picked-up-by-XPathEntityProcessor-tp3994802p3995211.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: DIH - incorrect datasource being picked up by XPathEntityProcessor

2012-07-16 Thread girishyes
Okay... found the problem after some more debugging. I was using a wrong datasource tag in the data-config.xml, may be Solr should validate the xml against a schema so these kind of issues are caught upfront. wrong: s*ource name="fieldSource" type="FieldReaderDataSource" /> correct: S*ource name=