Book Image

Scaling Big Data with Hadoop and Solr, Second Edition

By : Hrishikesh Vijay Karambelkar
Book Image

Scaling Big Data with Hadoop and Solr, Second Edition

By: Hrishikesh Vijay Karambelkar

Overview of this book

Table of Contents (13 chapters)
Scaling Big Data with Hadoop and Solr Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring Solr


Apache Solr allows extensive configuration to meet the needs of the consumer. Configuring the instance revolves around the following:

  • Defining a schema

  • Configuring Solr parameters

First, let's try and understand the Apache Solr structure, and then, look at all these steps to understand the configuration of Apache Solr.

Understanding the Solr structure

The Apache Solr home folder mainly contains the configuration and index-related data. These are the following major folders in the Solr collection:

Directory

Purpose

conf/

This folder contains all the configuration files of Apache Solr and is mandatory. Among them, solrconfig.xml, and schema.xml are important configuration files.

data/

This folder stores the data related to indexes generated by Solr. This is a default location for Solr to store this information. This location can be overridden by modifying conf/solrconfig.xml.

lib/

This folder is optional. If it exists, Solr will load any Jars found in this folder and...