Administrating Solr
eBook - ePub

Administrating Solr

Surendra Mohan

Share book
  1. 120 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Administrating Solr

Surendra Mohan

Book details
Book preview
Table of contents
Citations

About This Book

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.

Approach

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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Administrating Solr an online PDF/ePUB?
Yes, you can access Administrating Solr by Surendra Mohan in PDF and/or ePUB format, as well as other popular books in Computer Science & Web Development. We have over one million books available in our catalogue for you to explore.

Information

Year
2013
ISBN
9781783283255

Administrating Solr


Table of Contents

Administrating Solr
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
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
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
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
A. Solr Resources
Index

Administrating Solr

Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: October 2013
Production Reference: 1081013
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78328-325-5
www.packtpub.com
Cover Image by Jeremy Segal ()

Credits

Author
Surendra Mohan
Reviewers
Aamir Hussain
Anshul Johri
Acquisition Editor
Joanne Fitzpatrick
Commissioning Editor
Govindan .K
Technical Editors
Monica John
Siddhi Rane
Project Coordinator
Joel Goveya
Proofreader
Mario Cecere
Indexer
Hemangini Bari
Graphics
Yuvraj Mannari
Production Coordinator
Aditi Gajjar
Cover Work
Aditi Gajjar

About the Author

Surendra Mohan is currently a Drupal Consultant cum Architect at a well-known software consulting organization in India. Prior to joining this organization, he served a few Indian MNCs, and a couple of startups in varied roles such as Programmer, Technical Lead, Project Lead, Project Manager, Solution Architect, and Service Delivery Manager. He has around nine years of working experience in Web Technologies covering media and entertainment, real-estate, travel and tours, publishing, e-learning, enterprise architecture, and so on. He is also a speaker cum trainer, who delivers talks on Drupal, Open Source, PHP, Moodle, and so on along with organizing and delivering TechTalks in Drupal meetups and Drupal Camps in Mumbai, India.
He had also reviewed other technical books such as Drupal 7 Multi Site Configuration, Drupal Search Engine Optimization, titles on Drupal commerce, ElasticSearch, Drupal related video tutorials and many more.

About the Reviewers

Aamir Hussain is a well-versed software design engineer with more than four years experience. He has excelled at problems involving breadth. He is an expert in internals knowledge gained in debugging Linux, Mac OS X, and third party components. He has developed complex software systems using Python/Django, Apache Solr, MySql, MongoDB, HTML, XML/XSD/XSLT, JavaScript, SQL, CSS, and lot more open source technologies. He is very determined to get top quality job done by continu...

Table of contents