Administrating Solr

Administrating Solr
eBook: $20.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $55.98    Print cover: $34.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Learn how to work with monitoring tools like OpsView, New Relic, and SPM
  • Utilize Solr scripts and Collection Distribution scripts to manage Solr
  • Employ search features like querying, categorizing, search based on location, and distributed search

Book Details

Language : English
Paperback : 120 pages [ 235mm x 191mm ]
Release Date : October 2013
ISBN : 1783283254
ISBN 13 : 9781783283255
Author(s) : Surendra Mohan
Topics and Technologies : All Books, Web Development, Open Source

Table of Contents

Chapter 1: Searching Data
Chapter 2: Monitoring Solr
Chapter 3: Managing Solr
Chapter 4: Optimizing Solr Tools and Scripts
Appendix: Solr Resources
  • Chapter 1: Searching Data
    • Installation
    • Request/response handling
    • Querying
      • Querying based on a particular field value
    • Searching for a phrase
    • Boosting phrases over words
    • Prioritizing your document in search results
    • Query nesting
    • Faceted search
      • Search based on the same value range
      • Filter your facet results
      • Autosuggest feature using faceting
    • Geospatial search
      • Storing geographical points in the index
      • Sort results by a distance from a point
    • Distributed search
    • Summary
    • Chapter 2: Monitoring Solr
      • Monitoring metrics
        • Stats.jsp
        • JMX MBeans
        • Solr with JMX
      • Using password-based authentication
        • Singler-user environment
        • Multiuser environment
      • Agent-less health checks
        • Ping status
      • Agent-based health checks
      • Monitoring tools
        • Opsview
          • Solr-specific plugin
          • Service check set up
          • Host configuration
          • Viewing output
        • New Relic for PHP
          • Features
          • System requirement
        • SPM
          • What are SPM monitors?
          • Features
      • Summary
      • Chapter 3: Managing Solr
        • Basic Solr scripts
          • User scripts.conf
          • Init script
        • Backup your Solr
          • Using the Solr replication handler
          • Backup scripts from earlier Solr releases
        • Configuring logging
          • Temporary logging settings
          • Permanent logging settings
            • Tomcat logging settings
            • Jetty logging settings
        • Collection distribution scripts
          • Scripts configuration
          • Rsyncd set up
        • Summary
        • Chapter 4: Optimizing Solr Tools and Scripts
          • Business rules
            • Drools
              • Drools language features
              • Drools rule format
              • Drools rule language (DRL)
              • Domain-specific language
              • Guided rule editor
              • Other Drools features
            • XML rule language
            • Why rules?
            • The rule engine workflow
            • Benefits of using rules
          • Language Detection
            • Configuring language detection
            • Tika language detection
            • LangDetect language detection
          • OpenNLP (Natural Language Processing)
            • Sentence detection and splitting
            • Tokenization
            • Part-Of-Speech tagging
            • Named entity recognition
          • Case study – Apache Solr with Drupal 7
            • Autocomplete
            • Faceted search
            • Facet slider
            • Boosting search relevancy
            • Prioritizing search results
            • Customizing the search result display
          • Summary

          Surendra Mohan

          Surendra Mohan, who has served a few top-notch software organizations in varied roles, is currently a freelance software consultant. He has been working on various cutting-edge technologies such as Drupal, Moodle, Apache Solr, ElasticSearch, and Node.js for the past 10 years. He also delivers technical talks at various community events like Drupal Meetups and Drupal Camps. To find out more about him, his write-ups, technical blogs, and much more, check out

          He has also authored books such as Administrating Solr and Apache Solr High Performance published by Packt Publishing and has reviewed other technical books such as Drupal 7 Multi Site Configuration, Drupal Search Engine Optimization, titles on Drupal commerce, ElasticSearch, Drupal-related video tutorials, title on OpsView, and many more.

          Additionally, he writes technical blogs and articles with His published blogs and articles can be found at

          Submit Errata

          Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

          Sample chapters

          You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

          Frequently bought together

          Administrating Solr +    Documentum 6.5 Content Management Foundations =
          50% Off
          the second eBook
          Price for both: €33.15

          Buy both these recommended eBooks together and get 50% off the cheapest eBook.

          What you will learn from this book

          • Install Solr and handle requests and responses
          • Utilize various search types like faceted, geospatial, and distributed search
          • Monitor metrics like stats.jsp, Solr with JMX, and password-based authentication both for single-user and multi-user environments
          • Back up your Solr using the Solr Replication Handler and configure your Solr logs
          • Create scripts to configure indexer and slave servers
          • Understand and create business rules using Drools
          • Learn about and configure language detection features like Tika and LangDetect
          • Discover OpenNLP and the activities it can perform including tokenization, sentence splitting, part-of-speech tagging, and so on
          • Implement Apache Solr with Drupal

          In Detail

          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.


          A fast-paced, example-based guide to learning how to administrate, monitor, and optimize Apache Solr.

          Who this book is for

          "Administrating Solr" is for developers and Solr administrators who have a basic knowledge of Solr and who are looking for ways to keep their Solr server healthy and well maintained. A basic working knowledge of Apache Lucene is recommended, but this is not mandatory.

          Code Download and Errata
          Packt Anytime, Anywhere
          Register Books
          Print Upgrades
          eBook Downloads
          Video Support
          Contact Us
          Awards Voting Nominations Previous Winners
          Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
          Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software