Chapter 7. In the Cloud

In this chapter, we will cover the following topics:

  • Creating a new SolrCloud cluster
  • Setting up multiple collections on a single cluster
  • Splitting shards
  • Having more than a single shard from a collection on a node
  • Creating a collection on defined nodes
  • Adding replicas after collection creation
  • Removing replicas
  • Moving shards between nodes
  • Using aliasing
  • Using routing

Introduction

With the release of Apache Solr 4.0, we were given a new, powerful mode Solr could work in—SolrCloud. What we got is out-of-the-box distributed indexing and searching at a full scale. We can distribute our collection along multiple machines without having to think about doing it in our application. We can have multiple logical collections defined, running, and managed automatically. In this chapter, we'll see how to manage your SolrCloud instances, how to increase the number of replicas, and have multiple collections inside the same cluster.

This chapter covers both Solr 4.x and Solr 5 when it comes to the creation of SolrCloud clusters and handling collections.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.27.131