Basic Solr scripts
When you use Solr server, it becomes mandatory for you to manage your index data. In this section, we will learn about a few frequently used scripts which are hard to manage your data efficiently.
User scripts.conf
Let us assume a situation wherein you have a huge index which gets updated with a frequency of once a week. Of course, the frequency in which data gets updated is not high, on the other hand, the index gets too huge to fetch every time. To overcome such a situation and to avoid getting huge index built, we need to think of some solution, for instance, updating the index incrementally which is also termed script-based replication. Is Solr efficient enough to handle such a situation and to implement our solution of incremental indexing? Yes, of course! In this section, we will cover how to do it.
Tip
You need to see that the slave is able to connect to the master through ssh and rsync. Probably, you may use key based authorization between the slave and the master...