Chapter 10. Distributed Indexing
In the previous chapter, we covered advanced topics in Solr, such as multilanguage support, deduplication, content streaming, and so on. In this chapter, we'll see how we can set up a cluster of Solr servers that will provide a fault-tolerant and high-availability scenario. We'll cover the following topics:
- Setting up SolrCloud
- Using the collections API
- Distributed indexing and searching
Setting up SolrCloud
In this section, we will see how we can set up multiple nodes of Solr servers on a single physical machine. We'll clone the example folder that comes with the default Solr installation to create multiple shards.
Let's go ahead and set up a two-node Solr instance. We'll navigate to our Solr instance and execute the ...