Re: Newbie: Indexing unrelated MySQL tables

2010-12-14 Thread Alexey Serba
> I figured I would create three entities and relevant > schema.xml entries in this way: > > dataimport.xml: > > > That's correct. You can list several entities under document element. You can index them separately using entity parameter (i.e. add entity=Users to you full import HTTP request). D

Re: Newbie: Indexing unrelated MySQL tables

2010-12-13 Thread Erick Erickson
Warning: I haven't tried this, but maybe it's relevant. See: http://wiki.apache.org/solr/DataImportHandler particularly the "multiple datasources" section. I'm thinking here that you have to define a different data source for each separate table you wa

Re: Newbie: Indexing unrelated MySQL tables

2010-12-13 Thread Stefan Matheis
And yes, sorry for the short answer .. http://wiki.apache.org/solr/DataImportHandler#TemplateTransformer would be good for that :)

Re: Newbie: Indexing unrelated MySQL tables

2010-12-13 Thread Stefan Matheis
To avoid overwrites in your case, use a combined id - f.e. $table_$id which results in user_1, job_1 and so on ..