I have 2 dB tables unrelated to each other that I want to index. I have tried 2 approaches for specifying them in my data-config.xml file. None of them seem to work (it seems I can only get data for the first one listed).
CASE 1) <dataConfig> <document name="test"> <entity name="owners" pk="id" query="...."> <field column="id" name="id"/> <field column=name" name="userName"/> </entity> <entity name="vets" pk="id" query="...."> <field column="id" name="id"/> <field column=name" name="userName"/> </entity> </document> </dataConfig> CASE 2) <dataConfig> <document name="test-1"> <entity name="owners" pk="id" query="...."> <field column="id" name="id"/> <field column=name" name="userName"/> </entity> </document> <document name="test-2"> <entity name="vets" pk="id" query="...."> <field column="id" name="id"/> <field column=name" name="userName"/> </entity> </document> </dataConfig> I ran the dataImporter as follows http://localhost:2455/solr/dataimport?command=full-import&debug=on&verbose=t rue&clean=true&commit=true After running Case 1 the output only shows documents under entity:owners. And an empty reference to entity:vets (no data). After running Case 2, the output only shows documents under entity:owners. No references to entity:vets. In either case, I have commented out the entity:owners and I do see the entity:vets data then. Thanks for your assistance Julio Castillo