There are two ways to achieve this 1) single core. single data-config xml multiple root entities .Add a type attribute and put all the fields from all the tables into the schema. This means that when you make a query you may need to add an extra condition for the type 2) multiple cores (one per table) one dataconfig per core.
On Wed, Oct 15, 2008 at 8:41 PM, agrohe <[EMAIL PROTECTED]> wrote: > > From the wiki, I cannot see that data-config.xml allows for multiple > documents. > > I have a database with more than one type of document. do I need a > multi-core solr to do this. > > For example: Invoices, Products, Customers, Sales Orders, Returns may all > be different documents in the database. > > Has anyone achieved something similar? > -- > View this message in context: > http://www.nabble.com/multiple-documents-in-data-import-data-config.xml-tp19995604p19995604.html > Sent from the Solr - User mailing list archive at Nabble.com. > > -- --Noble Paul