hi,all :
   i'm sorry to disturb you.But,now i suffer some questions with solr . 
   i want to use solr DIH tool.But i don't konw if it support to One-To-Many 
table when import.
   note: Across data sources 


if support ,how to modify below xml. Thank you very much 


exemple :
   <dataSource
type="JdbcDataSource"name="ds-1"driver="com.mysql.jdbc.Driver"url="jdbc:mysql://192.168.1.116:3306/test"user="root"password="root"/><dataSourcetype="JdbcDataSource"name="ds-2"driver="com.mysql.jdbc.Driver"url="jdbc:mysql://192.168.1.116:3306/test2"user="root"password="root"/><document><entityname="person"dataSource="ds-1"query="select
 id,name,sex from 
person"><fieldcolumn="id"name="id"/><fieldcolumn="name"name="name"/><fieldcolumn="sex"name="sex"/><entityname="member"dataSource="ds-2"query="select
 id,name,sex from person where 
id='${person.id}'"><fieldcolumn="id"name="id"/><fieldcolumn="name"name="name"/><fieldcolumn="sex"name="sex"/></entity></entity></document>

Reply via email to