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, ...

Get Solr Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.