I try "remove the OS06Y-field from your second entity ",import the second entity failed.
Give a example: Table1: OS06Y=123,f1=100,f2=200,f3=300; OS06Y=456,f1=100,f2=200,f3=300; Table2: OS06Y=123,f4=100,f5=200; OS06Y=456,f4=100; OS06Y=789,f4=100; I want the result: OS06Y=123,f1=100,f2=200,f3=300,f4=100,f5=200; OS06Y=456,f1=100,f2=200,f3=300,f4=100; OS06Y=789,f4=100; Can solr implement it? if yes,how to configure dataconfig.xml in solr? -----Original Message----- From: Em [mailto:mailformailingli...@yahoo.de] Sent: Thursday, April 21, 2011 4:59 PM To: solr-user@lucene.apache.org Subject: RE: The issue of import data from database using Solr DIH Not sure I understood you correct: You expect that OS06Y stores *two* different performanceIds? One from table1 and the other from table2? I think this may be a problem. If both OS06Y-keys are equal, than you can use the syntax as mentioned in the wiki without any problems. You just have to rewrite your config to make the second entity a sub-entity and to add a WHERE-clause. If this is really not possible for you, just a guess, what happens if you remove the OS06Y-field from your second entity? Regards, Em -- View this message in context: http://lucene.472066.n3.nabble.com/The-issue-of-import-data-from-databas e-using-Solr-DIH-tp2845318p2846347.html Sent from the Solr - User mailing list archive at Nabble.com.