Book Image

Scaling Apache Solr

By : Hrishikesh Vijay Karambelkar
Book Image

Scaling Apache Solr

By: Hrishikesh Vijay Karambelkar

Overview of this book

Table of Contents (18 chapters)
Scaling Apache Solr
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Understanding SolrJ


Apache Solr is a web application; it can be used directly by its customers to search. The search interface can be modified and enhanced to work as an end user search tool to search in an enterprise. Solr clients can directly access Solr URL through HTTP to search and read data through various formats such as JSON and XML. Moreover, Apache Solr also allows administration through these HTTP-based services. Queries are executed by generating the URL that Solr will understand.

SolrJ is a tool that can be used by your Java-based application to connect to Apache Solr for indexing. SolrJ provides Java wrappers and adaptors to communicate with Solr and translate its results to Java objects. Using SolrJ is much more convenient than using raw HTTP and JSON. Internally, SolrJ uses Apache HttpClient to send HTTP requests. It provides a user-friendly interface, hiding connection details from the consumer application. Using SolrJ, you can index your documents and perform your queries...