Book Image

Apache Solr Enterprise Search Server - Third Edition

By : David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell
Book Image

Apache Solr Enterprise Search Server - Third Edition

By: David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell

Overview of this book

<p>Solr Apache is a widely popular open source enterprise search server that delivers powerful search and faceted navigation features—features that are elusive with databases. Solr supports complex search criteria, faceting, result highlighting, query-completion, query spell-checking, relevancy tuning, geospatial searches, and much more.</p> <p>This book is a comprehensive resource for just about everything Solr has to offer, and it will take you from first exposure to development and deployment in no time. Even if you wish to use Solr 5, you should find the information to be just as applicable due to Solr's high regard for backward compatibility. The book includes some useful information specific to Solr 5.</p>
Table of Contents (19 chapters)
Apache Solr Enterprise Search Server Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 2. Schema Design

The foundation of Solr is based on Lucene's index—the subject of this chapter. In this chapter, you will learn about:

  • Schema design decisions in which you map your source data to Lucene's limited structure. In this book, we'll consider the data from www.MusicBrainz.org.

  • The structure of the schema.xml file, where the schema definition is defined. This file contains both the definition of field types and the fields of those types that store your data.

The following diagram shows the big picture of how various aspects of working with Solr are related. In this chapter, we will focus on the foundational layer—the index:

Tip

In a hurry?

This is a fairly important foundational chapter. That said, you can start building your own search engine using the predefined field types provided with Solr's example schema. Eventually, you will want to return to make adjustments.