You don't really need to have a relationship but the unique id should be unique in a document. I had mentioned about the relationship due to the fact that the unique key was present only in one table but not the other..
Check out this link for more information on importing multiple table data. http://lucene.472066.n3.nabble.com/Create-index-on-few-unrelated-table-in-Solr-td4068054.html -- View this message in context: http://lucene.472066.n3.nabble.com/data-import-problem-tp4068345p4068650.html Sent from the Solr - User mailing list archive at Nabble.com.