O'Reilly logo

Apache Solr for Indexing Data by Anshul Johri, Sachin Handiekar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required