# Package org.apache.solr.client.solrj

package org.apache.solr.client.solrj
Primary APIs for communicating with a Solr Server from a Java client.

Related Packages
Package
Description
org.apache.solr.client.solrj.beans
Annotation based mapping of client objects to Solr documents.
org.apache.solr.client.solrj.impl
Implementations of some client API classes, and their friends.
org.apache.solr.client.solrj.request
Convenience classes for dealing with various types of Solr requests.
org.apache.solr.client.solrj.response
Convenience classes for dealing with various types of Solr responses.
org.apache.solr.client.solrj.routing
Classes to handle query routing preferences
org.apache.solr.client.solrj.util
Utilities for Solr client applications.
Class
Description
RemoteSolrException
Subclass of SolrException that allows us to capture an arbitrary HTTP status code and error details that may have been returned by the remote server or a proxy along the way.
SolrClient
Abstraction through which all communication with a Solr server may be routed
SolrClient.SolrClientFunction<C extends SolrClient,R>
A lambda intended for invoking SolrClient operations
SolrRequest<T>
The SolrJ base class for a request into Solr.
SolrRequest.ApiVersion
SolrRequest.METHOD
SolrRequest.SolrClientContext
SolrRequest.SolrRequestType
SolrResponse
SolrServerException
Exception to catch all types of communication / parsing issues associated with talking to SOLR