Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Enhance your search with faceted navigation, result highlighting, relevancy ranked sorting, and more

  • Comprehensive information on Apache Solr 3 with examples and tips so you can focus on the important parts

  • Integration examples with databases, web-crawlers, XSLT, Java & embedded-Solr, PHP & Drupal, JavaScript, Ruby frameworks

  • Advice on data modeling, deployment considerations to include security, logging, and monitoring, and advice on scaling Solr and measuring performance

  • An update of the best-selling title on Solr 1.4

In Detail

If you are a developer building an app today then you know how important a good search experience is. Apache Solr, built on Apache Lucene, is a wildly popular open source enterprise search server that easily delivers powerful search and faceted navigation features that are elusive with databases. Solr supports complex search criteria, faceting, result highlighting, query-completion, query spell-check, relevancy tuning, and more.

Apache Solr 3 Enterprise Search Server is a comprehensive reference guide for every feature Solr has to offer. It serves the reader right from initiation to development to deployment. It also comes with complete running examples to demonstrate its use and show how to integrate Solr with other languages and frameworks.

Through using a large set of metadata about artists, releases, and tracks courtesy of the project, you will have a testing ground for Solr, and will learn how to import this data in various ways. You will then learn how to search this data in different ways, including Solr's rich query syntax and ""boosting"" match scores based on record data.

Finally, we'll cover various deployment considerations to include indexing strategies and performance-oriented configuration that will enable you to scale Solr to meet the needs of a high-volume site.

Subscriber Reviews

Average Rating: 2 out of 5 rating Based on 1 Rating

"Some useful info; Poorly written" - by Anonymous on 05-JUN-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book lacks clarity. It doesn't provide clear syntax for query strings, it doesn't clearly distinguish between Solr and Lucene concepts, and it isn't organized very well.

I find myself switching between it and the Solr online docs (and using the online docs more) because it is so poorly organized.

I can imagine the author could do a better job with a new revision of this book. It should offer more hands-on examples and should be less paragraph-heavy and more list-based and reference-like.

The author should also do a better job of not biasing the book to any one technology group. For example, in the section on Relevancy, he mentions a OS X-based tool and forgets or neglects any other, superior tools.

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Downloading the example code for this book

  • You can download the example code files for all Packt books you have purchased from your account at
  • If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.