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

Chapter 9. Integrating Solr

As the saying goes, if a tree falls in the woods and no one hears it, did it make a sound? Similarly, if you have a wonderful search engine, but your users can't access it, do you really have a wonderful search engine? Fortunately, Solr is very easy to integrate into a wide variety of client environments via its modern, easy-to-use, REST-like interface and multiple data formats. In this chapter, we will:

  • Quickly prototype a search UI using Solritas (the /browse UI)

  • Look at accessing Solr results through various language-based clients, including Java, Ruby, and PHP

  • Learn how to build a dynamic JavaScript-based interface for Solr using AJAX calls

  • Briefly cover building our own Google-like search engine by crawling the MusicBrainz.org site with the Nutch web crawler

  • Leverage Hadoop to build Solr indexes using multiple machines

  • Translate search results into the OpenSearch XML standard via XSLT

  • Review ManifoldCF, a framework for syncing content from external repositories...