Let's finally explore a Solr schema.
Before we continue, find a
schema.xml file to follow along. This file belongs in the
conf directory for a Solr instance configuration. For simple single-core Solr setups, this is the same as a Solr home directory. In the example code distributed with the book, available online, I suggest looking at
cores/mbtype/conf/schema.xml. If you are working off of the Solr distribution, you'll find it in
example/solr/conf/schema.xml. The example
schema.xml is loaded with useful field types, documentation, and field definitions used for the sample data that comes with Solr.
I prefer to initialize a Solr configuration by copying the example Solr home directory and liberally modifying it as needed, ...