Book Image

Administrating Solr

By : Surendra Mohan
Book Image

Administrating Solr

By: Surendra Mohan

Overview of this book

Implementing different search engines on web products is a mandate these days. Apache Solr is a robust search engine, but simply implementing Apache Solr and forgetting about it is not a good idea, especially when you have to fight for the search ranking of your web product. In such a scenario, you need to keep monitoring, administrating, and optimizing your Solr to retain your ranking. "Administrating Solr" is a practical, hands-on guide. This book will provide you with a number of clear, step-by-step exercises and some advanced concepts which will help you administrate, monitor, and optimize Solr using Drupal and associated scripts. Administrating Solr will also provide you with a solid grounding on how you can use Apache Solr with Drupal. "Administrating Solr" starts with an overview of Apache Solr and the installation process to get you familiar with Solr. It then gradually moves on to discuss the mysteries that make Solr flexible enough to render appropriate search results in different scenarios. This book will take you through clear and practical concepts that will help you monitor, administrate, and optimize your Solr appropriately using both scripts and tools. This book will also teach you ways to query your search and methods to keep your Solr healthy and well maintained. With this book, you will learn how to effectively implement and optimize Solr using Drupal.
Table of Contents (12 chapters)

Backup your Solr


Imagine a scenario wherein your Solr crashed or met a disaster, and you don't have any backup with you; what will you do then? You might even lose your business. Tensed? Don't worry about it. Solr will handle it and get you out of such situations, you just need to top-up your efforts. In this section, you will learn how to backup our Solr based on various scenarios; for example, using Solr replication handlers and to back up your scripts from earlier Solr releases.

Using the Solr replication handler

The best and the easiest way to create backups in Solr is to use the replication handler. Before we take the concept forward let us first briefly look at index replication.

Index replication: It replicates master index to one or more slave servers, that is, the complete copies of a master index are being distributed to one or more slave servers. Moreover, all the querying is handled by the slave, and the master server keeps itself in track with the index updates.

This activity of...