Book Image

Scaling Apache Solr

By : Hrishikesh Vijay Karambelkar
Book Image

Scaling Apache Solr

By: Hrishikesh Vijay Karambelkar

Overview of this book

Table of Contents (18 chapters)
Scaling Apache Solr
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding the Solr structure


Now that your Solr server is set and running, the next step will be to configure your instance for your application. Most of the configuration for Apache Solr can be done through XML configuration files, which go in the conf/ directory of your Solr core home. Let's go through the configuration for the Solr instance.

When we do the deployments on the container, the solr.war file contains the actual web application that can be accessed through the URL. Each container, when started for the first time, unpacks this .war file in an internal directory (this is different for each container).

The J2EE container picks up the home directory as specified by Java parameters before starting the instance and looking for solr.xml. The solr.xml file defines the context that contains information about the core.

Note

A collection in Solr is a combination of one or more indexes spanning one or more cores of Apache Solr. A Solr core or core in Apache Solr is a running instance of...