Book Image

Apache Solr Enterprise Search Server - Third Edition

By : David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell
Book Image

Apache Solr Enterprise Search Server - Third Edition

By: David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell

Overview of this book

<p>Solr Apache is a widely popular open source enterprise search server that delivers powerful search and faceted navigation features—features that are elusive with databases. Solr supports complex search criteria, faceting, result highlighting, query-completion, query spell-checking, relevancy tuning, geospatial searches, and much more.</p> <p>This book is a comprehensive resource for just about everything Solr has to offer, and it will take you from first exposure to development and deployment in no time. Even if you wish to use Solr 5, you should find the information to be just as applicable due to Solr's high regard for backward compatibility. The book includes some useful information specific to Solr 5.</p>
Table of Contents (19 chapters)
Apache Solr Enterprise Search Server Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring Solr for near real-time search


Real-time search is the ability to search for content immediately after adding/updating it. A typical scenario is that a user is performing some sort of add/update action on content, then the system is able to process the change fast enough so that if the user then searches for that immediately, they will always be able to see the latest changes applied. Near real-time search (often abbreviated to NRT) allows for a larger time window—most would say less than 5 seconds. This time window, however big or small it is, is also known as the index latency. Solr 4's commits are faster than before, and it has a new even faster soft commit ability. As a result, all apps can have NRT search, and with some tuning, some can commit so fast that you can reasonably say you have real-time search!

Here are a series of tips to consider in your quest for the holy grail of real-time search with Solr:

  • Use soft commits with autoCommit! Solr's default example configuration...