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.
<entity name="f" processor="FileListEntityProcessor"
baseDir="${solr.solr.home}" fileName=".xml" 
                recursive="false" rootEntity="true"
dataSource="video_datasource">
           <entity name="x" processor="XPathEntityProcessor" 
           
forEach="/gvpVideoMetaData/mediaItem[@media_id='${topic_tree.topic_id}']" 
            url="${f.fileAbsolutePath}" 
                    >

I even tried using script transformer but "row" in script transformer has
scope limited to entity "f"  If this is nested under another entity u cant
access top level variables with "row" .



--
View this message in context: 
http://lucene.472066.n3.nabble.com/DIH-error-when-nested-db-datasource-and-file-data-source-tp3345664p3362007.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to