Hehe. Yes my all tables ID field names are different. For example:
I have 5 table. These names are 'admin, account, group, checklist' admin=>id ->uniquekey account=>account_id ->uniquekey group=>group_id ->uniquekey checklist=>id->uniquekey Also I thought last entity overwrite other entities. I'm sorry. I don't understand your this example. Now I try to use below config. ########### data-config.xml <entity name="admin" query="select *from admin" dataSource="ds-1"> <field column="id" name="id" /> ........................................................................................................................................................ <entity name="checklist" query="select *from checklist" dataSource="ds-1"> <field column="id" name="id" /> ........................................................................................................................................................ <entity name="groups" query="select *from groups" dataSource="ds-1"> <field column="group_id" name="id" /> ........................................................................................................................................................ <entity name="account" query="select *from accounts" dataSource="ds-1"> <field column="account_id" name="id" /> ........................................................................................................................................................ Then my schema.xml <field name="id" stored="true" type="string" multiValued="false" indexed="true"/> ........................................................................................................................................................ <uniqueKey>id</uniqueKey> How can I don't overwrite other entities? Please assist me on this example. -- View this message in context: http://lucene.472066.n3.nabble.com/Multitable-import-uniqueKey-tp4067796p4068384.html Sent from the Solr - User mailing list archive at Nabble.com.