Apache Solr: Beginner’s Guide is published by Packt Publishing in December 2013. This book has 324 pages in English, ISBN-13 9781782162520.
With over 40 billion web pages, the importance of optimizing a search engine’s performance is essential.
Solr is an open source enterprise search platform from the Apache Lucene project. Full-text search, faceted search, hit highlighting, dynamic clustering, database integration, and rich document handling are just some of its many features. Solr is highly scalable thanks to its distributed search and index replication.
Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Apache Tomcat or Jetty. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it usable with most popular programming languages. Solr’s powerful external configuration allows it to be tailored to many types of application without Java coding, and it has a plugin architecture to support more advanced customization.
With “Apache Solr Beginner’s Guide” you will learn how to configure your own search engine experience. Using real data as an example, you will have the chance to start writing step-by-step, simple, real-world configurations and understand when and where to adopt this technology.
“Apache Solr Beginner’s Guide” will start by letting you explore a simple search over real data. You will then go through a step-by-step description that gives you the chance to explore several practical features. At the end of the book you will see how Solr is used in different real-world contexts.
Using data from public domains like DBpedia, you will define several different configurations, exploring some of the most interesting Solr features, such as faceted search and navigation, auto-suggestion, and rich document indexing. You will see how to configure different analysers for handling different data types, without programming.
You will learn the basics of Solr, focusing on real-world examples and practical configurations.
What you will learn from this book
- Understand what is full-text search and a faceted navigation are and when to use them
- Install and use Solr for testing
- Write your own configurations for the Solr index incrementally and test them with the Solr web UI
- Learn how to test a Solr running instance using cURL with different formats, like XML, JSON, and so on
- Construe your data and define the entities to be indexed in Solr
- Examine text and make auto-suggestions
- Index data using various formats and various data sources, and learn how to expose data in various formats
- Start using Solr in contexts like Open Data and Linked Data
- Use Solr for expanding your data with resources from public, well-known knowledge bases
Written in a friendly, example-driven format, the book includes plenty of step-by-step instructions and examples that are designed to help you get started with Apache Solr.
Who this book is for
This book is an entry level text into the wonderful world of Apache Solr. The book will center around a couple of simple projects such as setting up Solr and all the stuff that comes with customizing the Solr schema and configuration. This book is for developers looking to start using Apache Solr who are stuck or intimidated by the difficulty of setting it up and using it.
For anyone wanting to embed a search engine in their site to help users navigate around the mammoth data available this book is an ideal starting point. Moreover, if you are a data architect or a project manager and want to make some key design decisions, you will find that every example included in the book contains ideas usable in real-world contexts.