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)

Collection distribution scripts


Most of the time, automation of the tasks proves to be a boon to development. As far as Solr development is concerned, it is actually good to think of and implement automation at your end. Solr provides a set of automation scripts which makes your life much easier in terms of managing Solr. We will first understand the basic architecture with Solr and then dive into Solr's distribution scripts.

The very basic architecture for a Solr based application constitutes of just a single application server. For instance, if you develop in Java, you can even have both Solr and your web application served by a single Web application server. Sounds good! Now we will think a bit differently in terms of its architecture which is more common and equally effective. Let us now involve a dedicated indexing server (termed as indexer) and one or more slave index servers. The idea behind this is to separate all index building activities from normal queries. You may also co-relate...