Over a million developers have joined DZone.

Getting Started with Apache Solr

· Java Zone

Bitbucket is for the code that takes us to Mars, decodes the human genome, or drives your next car. What will your code do? Get started with Bitbucket today, it's free.

You've probably heard of Solr, the fast, open source search server (say that ten times fast!) on the Lucene Java search library.  But if you haven't had a chance to set it up and tinker with it, do yourself a favor and check out the Solr presentation from ApacheCon NA 2011.  The presentation is something of a walkthrough by Chris Hostetter, a member of the ASF and the Lucene Project Management Committee.

Follow along and you'll learn how to install Solr, configure it and get started on full-text searches of structured data in no time.  You'll also hear a bit about some of Solr's built-in features, such as:

  • loading data from CSV files
  • tolerant parsing of user input
  • faceted searching
  • highlighting matched text in results
  • retrieving search results in a variety of formats (e.g. XML and JSON)

If you'd like something to help you follow along with the mp3, or just to look over so you don't have to take any notes, check out this pdf with slides from the presentation that Hostetter gave on the same topic at ApacheCon NA 2008.  

Bitbucket is the Git solution for professional teams who code with a purpose, not just as a hobby. Get started today, it's free.


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}