Re: import 2 mysql tables into Solr 4

2014-11-09 Thread Tim Dunphy
Hi Alex, On Tue, Nov 4, 2014 at 4:10 PM, Alexandre Rafalovitch wrote: > Looks right. Just remember to double check the preImportDeleteQuery > documentation to avoid surprises later > > Regards, >Alex. > Personal: http://www.outerthoughts.com/ and @arafalov > Solr resources and newsletter

Re: import 2 mysql tables into Solr 4

2014-11-04 Thread Tim Dunphy
> > Looks right. Just remember to double check the preImportDeleteQuery > documentation to avoid surprises later Sure! Sounds good. Thanks again. On Tue, Nov 4, 2014 at 4:10 PM, Alexandre Rafalovitch wrote: > Looks right. Just remember to double check the preImportDeleteQuery > documentation t

Re: import 2 mysql tables into Solr 4

2014-11-04 Thread Alexandre Rafalovitch
Looks right. Just remember to double check the preImportDeleteQuery documentation to avoid surprises later Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linke

Re: import 2 mysql tables into Solr 4

2014-11-04 Thread Tim Dunphy
Hey Alexandre, Thanks for the example! This is what worked for me:

Re: import 2 mysql tables into Solr 4

2014-11-04 Thread Alexandre Rafalovitch
I can't remember what document element does, but I am quite sure the entities just need to be side-by-side. See the example from my book: https://github.com/arafalov/solr-indexing-book/blob/master/published/dihdb/conf/dih-definition.xml Notice that you need preImportDeleteQuery for each definitio

import 2 mysql tables into Solr 4

2014-11-04 Thread Tim Dunphy
Hey all, I finally got mysql data into Solr 4 with your help. First off, thank you for that! But now I'm hoping to refine the resulting process a bit. What I'm trying to do, now that mysql imports are working, is to import 2 separate tables from the same mysql database. I tried this in my xml