Re: DIH - Query

2014-02-09 Thread Shalin Shekhar Mangar
That is how transformers work. They act on a per-entity basis. If you want a transformer on a child entity then you must explicitly specify it. The other way is to join in SQL and retrieve the result of the join query in a single entity from your database, then the transformer will get both the par

Re: DIH - Query

2014-02-09 Thread PeriS
Thanks; I verified that SOLR is intact returning the parent/child rows, but for some reason, the transformer that I have on the parent table, only receives the rows from the parent record. I was wondering how the transformer can get the result of the join query which would be both parent/child r

Re: DIH - Query

2014-02-09 Thread Shawn Heisey
On 2/9/2014 11:09 AM, PeriS wrote: > I have a simple join query; > > > > > > This doesn’t bring back the child address records. Am I missing something? If you want to see the actual SQL that Solr sends, change the logging level of org.apache.solr.handler.dataimport.JdbcDataSource