lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Khludnev <m...@apache.org>
Subject Re: Child=true does not work for data import handler
Date Mon, 06 Aug 2018 15:05:18 GMT
DIH has debug&verbose modes. Have you tried to use them?

On Mon, Aug 6, 2018 at 4:11 PM omprab@rediffmail.com <omkar.prabhu@gmail.com>
wrote:

> Thanks Mikhail, i tried changing conf but that did not help
>
> <dataConfig>
>   <dataSource type="JdbcDataSource" name="ds-1"
>               driver="com.mysql.jdbc.Driver"
>               url="jdbc:mysql://localhost:3306/test"
>               user="root"
>               password=""
>                           session.group_concat_max_len = '70000'
>                           />
>
>    <document>
>
>     <entity name="parent" datasource="ds-1" pk="id"
> transformer="RegexTransformer"
>              query="SELECT id,name      FROM emp">
>                                 <field column="id" name="id" />
>                                 <field column="name" name="name" />
>
>                          <entity  name="child"  query="select id as
> childpk,dept from emp_details
> where emp_id = '${parent.id}'">
>                                                 <field column="dept"
> name="dept" />
>                                                 <field column="childpk"
> name="childpk" />
>                                  </entity>
>
>         </entity>
>
>                   </document>
>
>         </dataConfig>
>
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>


-- 
Sincerely yours
Mikhail Khludnev

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message