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 ...

Get Scaling Apache Solr now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.