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)

Case study – Apache Solr with Drupal 7


In this section, we will learn more on how to work with Apache Solr using Drupal 7, which consists of the following features (most of which we have discussed in our first chapter of the book).

  • Autocomplete

  • Faceted search

  • Facet slider

  • Boost search relevancy

  • Prioritize search results

  • Customize search result display

Before we start discussing the listed topics, we assume that you have already installed Apache Solr module (https://drupal.org/project/apachesolr), enabled Apache Solr framework and Apache Solr search modules, and configured them with your Drupal 7 installation.

Once you have downloaded and extracted Apache Solr module and stored at /sites/all/modules directory, navigate to the modules administrative menu. Enable the Apache Solr framework and Apache Solr search modules as shown in the following screenshot:

Autocomplete

To enable the autocomplete feature, download and install the Apache Solr Autocomplete module (https://drupal.org/project/apachesolr_autocomplete...