Creating a collection on defined nodes

There are use cases where we want to create a collection only on some of the nodes. For example, we would like to have one collection created on other better machines, because we know that this collection will be heavier in terms of indexing and querying. The other collections can live on the smaller and worse performing nodes. In such cases, we still have all the collections in a single cluster, but we know that they will be placed on hardware we want them to be placed. This recipe will show you how to do this.

Getting ready

Before reading further, I advise you to read the Creating a new SolrCloud cluster and Having more than a single shard from a collection on a node recipes of this chapter. These recipes ...

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.