Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Importing a MySQL database into Apache Solr: Part 1

DZone's Guide to

Importing a MySQL database into Apache Solr: Part 1

· Web Dev Zone ·
Free Resource

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Looking for a nice tutorial on how to import MySQL databases into Solr?  Jon Ryan just posted the first part of an ongoing how-to for this task:

This is a tutorial for getting started with Apache Solr enterprise search with PHP and MySQL on Unix/Linux or Mac OS X.  Most of the information I have found is rather incomplete or full of erros so I wanted to share how I have successfully used Solr in a number of different applications.  I’m going to break this down into three separate posts/sections.
  • Importing a MySQL database into Apache Solr
  • Using PHP with Apache Solr
  • Using the Suggester feature in the new Apache Solr 3.1


So keep an eye on Jon's blog for an up-to-date tutorial on using PHP and MySQL with Solr.

Deploying code to production can be filled with uncertainty. Reduce the risks, and deploy earlier and more often. Download this free guide to learn more. Brought to you in partnership with Rollbar.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}