Re: DIH error when nested db datasource and file data source

2011-09-23 Thread abhayd
hi thanks for details. I will look into xsl suggestion. Any idea how would i send parameter to script? As i understand thats the syntax for script transformer -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-error-when-nested-db-datasource-and-file-data-source-tp3345664p

Re: DIH error when nested db datasource and file data source

2011-09-23 Thread Pulkit Singhal
Few thoughts: 1) If you place the script transformer method on the entity named "x" and then pass the ${topic_tree.topic_id} to that as an argument, then shouldn't you have everything you need to work with x's row? Even if you can't look up at the parent, all you needed to know was the topic_id an

Re: DIH error when nested db datasource and file data source

2011-09-23 Thread abhayd
hi I am not getting exception anymore.. I had issue with database But now real problem i always have ... Now that i can fetch ID's from database how would i fetch correcponding data from ID in xm file So after getting DB info from jdbcsource I use xpath processor like this, but it does not work.

Re: DIH error when nested db datasource and file data source

2011-09-23 Thread Shalin Shekhar Mangar
On Sun, Sep 18, 2011 at 11:47 AM, abhayd wrote: > hi gora, > Query works and if i remove xml data load indexing works fine too > > Problem seem to be with this > > baseDir="${solr.solr.home}" fileName=".xml" >recursive="false" rootEntity="true" > dataSource="video_datasource"> >

Re: DIH error when nested db datasource and file data source

2011-09-22 Thread abhayd
Any help? -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-error-when-nested-db-datasource-and-file-data-source-tp3345664p3360637.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: DIH error when nested db datasource and file data source

2011-09-17 Thread abhayd
hi gora, Query works and if i remove xml data load indexing works fine too Problem seem to be with this Basically how would i get details abt a id fetched from db using xpath from a xml file. -- View this message in context: http://lucene.472066.n3.nabble.com/DIH-error-w

Re: DIH error when nested db datasource and file data source

2011-09-17 Thread Gora Mohanty
On Sun, Sep 18, 2011 at 10:35 AM, abhayd wrote: > hi > I have a requirement where i fetch some data from db , and based on db data > i pull details from XML file to index solr. > > When i try to import it gives me following error. > -