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

Building enterprise distributed search using SolrCloud


In this section, we will try to build a Solr cluster using Apache Solr's SolrCloud. SolrCloud can be built for development and for production. Development would contain an easy, smaller version whereas production would have a complex configuration.

Setting up a SolrCloud for development

The development environment typically does not require a fully fledged production-level landscape. Developers can simply set up a single machine proxy cluster of nodes on their development server. Each Solr instance can run on any J2EE container such as Jetty, Tomcat, and JBoss. In this mode, SolrCloud runs along with the internal Zookeeper provided by Solr installation. To start this, simply start your Jetty server using the following steps:

  1. Download the latest version of Apache Solr from .

  2. Unzip the instance and go to $SOLR_HOME/example.

  3. Now, run the following command:

    $java –jar start.jar
    
  4. Stop the server. This step of running Solr in a non-Cloud mode is...