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: