Re: question about DIH solr-data-config.xml and XML include

2014-01-14 Thread Bill Au
The problem is with the admin UI not following the XML include to find entity so it found none. DIH itself does support XML include as I can issue the DIH commands via HTTP on the included entities successfully. Bill On Mon, Jan 13, 2014 at 8:03 PM, Shawn Heisey wrote: > On 1/13/2014 3:31 PM,

Re: question about DIH solr-data-config.xml and XML include

2014-01-13 Thread Shawn Heisey
On 1/13/2014 3:31 PM, Bill Au wrote: But when I use XML include, the Entity pull-down in the Dataimport section of the Solr admin UI is empty. I know that happens when there is a syntax error in solr-data-config.xml. Does DIH supports XML include? Also I am not seeing any error message in the

question about DIH solr-data-config.xml and XML include

2014-01-13 Thread Bill Au
I am trying to simplify my Solr DIH configuration by using XML schema include element. Here is an example: ]> &dataSource; &entity1; &entity2; I know my included XML files are good because if I put them all into a single XML file, DIH works as expected. But

Re: question about DIH

2012-06-27 Thread wangjing
                    name="sharing_money"/> >                                                 name="trade_name"/> >     > > and no log error. > i don't know why? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/question-about-DIH-tp3990261.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: question about DIH

2012-06-19 Thread alex.wang
uture. -- View this message in context: http://lucene.472066.n3.nabble.com/question-about-DIH-tp3990261p3990454.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: question about DIH

2012-06-19 Thread Erick Erickson
aQuery="select id from sharing where DATE_ADD(time,INTERVAL > 8 HOUR) > '${dataimporter.last_index_time}'" > >             >                         >                         >                                                 name="sharing_money"/> >                                                 name="trade_name"/> >     >

question about DIH

2012-06-19 Thread alex.wang
mporter.last_index_time}'" > and no log error. i don't know why? -- View this message in context: http://lucene.472066.n3.nabble.com/question-about-DIH-tp3990261.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Question about DIH execution order

2009-11-02 Thread Fergus McMenemie
Bertie, Not sure what you are trying to do, we need a clearer description of what "select *" returns and what you want to end up in the index. But to answer your question The transformations happen after DIH has performed the SQL statement. In fact the rows output from the SQL command are assigne

Re: Question about DIH execution order

2009-11-02 Thread Bertie Shen
Hi Noble, I tried to understand your suggestions and played different variations according to your reply. But none of them work. Can you explain it in more details? Thanks a lot! BTW, do you mean your solution as follows? But 1) T

Re: Question about DIH execution order

2009-11-01 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Sun, Nov 1, 2009 at 11:59 PM, Bertie Shen wrote: > Hi folks, > >  I have the following data-config.xml. Is there a way to > let transformation take place after executing SQL "select comment from > Rating where Rating.CourseId = ${Course.CourseId}"?  In MySQL database, > column CourseId in table

Question about DIH execution order

2009-11-01 Thread Bertie Shen
Hi folks, I have the following data-config.xml. Is there a way to let transformation take place after executing SQL "select comment from Rating where Rating.CourseId = ${Course.CourseId}"? In MySQL database, column CourseId in table Course is integer 1, 2, etc; template transformation will make