Over a million developers have joined DZone.

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

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

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.

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}