Package org.apache.solr.client.solrj.impl
Concrete implementations of client API classes.
-
Interface Summary Interface Description ClusterStateProvider Http2SolrClient.OnComplete HttpClientBuilderFactory Factory interface for configuring SolrHttpClientBuilder.HttpListenerFactory SolrHttpClientBuilder.AuthSchemeRegistryProvider SolrHttpClientBuilder.CookieSpecRegistryProvider SolrHttpClientBuilder.CredentialsProviderProvider SolrHttpClientBuilder.HttpRequestInterceptorProvider -
Class Summary Class Description BaseCloudSolrClient BaseCloudSolrClient.RouteResponse<T extends LBSolrClient.Req> BaseHttpClusterStateProvider BaseHttpSolrClient BinaryRequestWriter A RequestWriter which writes requests in the javabin formatBinaryRequestWriter.BAOS BinaryResponseParser CloudHttp2SolrClient SolrJ client class to communicate with SolrCloud using Http2SolrClient.CloudHttp2SolrClient.Builder ConstructsCloudHttp2SolrClient
instances from provided configuration.CloudSolrClient SolrJ client class to communicate with SolrCloud.CloudSolrClient.Builder ConstructsCloudSolrClient
instances from provided configuration.CloudSolrClient.RouteResponse Deprecated. since Solr 8.0ConcurrentUpdateHttp2SolrClient ConcurrentUpdateHttp2SolrClient.Builder ConstructsConcurrentUpdateHttp2SolrClient
instances from provided configuration.ConcurrentUpdateSolrClient ConcurrentUpdateSolrClient buffers all added documents and writes them into open HTTP connections.ConcurrentUpdateSolrClient.Builder ConstructsConcurrentUpdateSolrClient
instances from provided configuration.DelegationTokenHttpSolrClient Http2ClusterStateProvider Http2SolrClient Difference between thisHttp2SolrClient
andHttpSolrClient
:Http2SolrClient
sends requests in HTTP/2Http2SolrClient
can point to multiple urlsHttp2SolrClient
does not expose its internal httpClient likeHttpSolrClient.getHttpClient()
, sharing connection pools should be done byHttp2SolrClient.Builder.withHttpClient(Http2SolrClient)
Http2SolrClient.Builder Http2SolrClient.OutStream HttpClientUtil Utility class for creating/configuring httpclient instances.HttpClientUtil.SocketFactoryRegistryProvider HttpClusterStateProvider HttpListenerFactory.RequestResponseListener HttpSolrClient A SolrClient implementation that talks directly to a Solr server via HTTPHttpSolrClient.Builder ConstructsHttpSolrClient
instances from provided configuration.HttpSolrClient.HttpUriRequestResponse InputStreamResponseParser Simply puts the InputStream into an entry in a NamedList named "stream".Krb5HttpClientBuilder Kerberos-enabled SolrHttpClientBuilderLBHttp2SolrClient LBHttp2SolrClient or "LoadBalanced LBHttp2SolrClient" is a load balancing wrapper aroundHttp2SolrClient
.LBHttpSolrClient LBHttpSolrClient or "LoadBalanced HttpSolrClient" is a load balancing wrapper aroundHttpSolrClient
.LBHttpSolrClient.Builder ConstructsLBHttpSolrClient
instances from provided configuration.LBHttpSolrClient.Req Deprecated. useLBSolrClient.Req
insteadLBHttpSolrClient.Rsp Deprecated. useLBSolrClient.Rsp
insteadLBSolrClient LBSolrClient.Req LBSolrClient.Rsp LBSolrClient.ServerWrapper NoOpResponseParser Simply puts the entire response into an entry in a NamedList.PreemptiveAuth This HTTP request interceptor adds HTTP authentication credentials to every outgoing request.PreemptiveBasicAuthClientBuilderFactory HttpClientConfigurer implementation providing support for preemptive Http Basic authentication scheme.SolrClientBuilder<B extends SolrClientBuilder<B>> SolrClientCloudManager Class that implementsSolrCloudManager
using a SolrClientSolrClientNodeStateProvider The realNodeStateProvider
, which communicates with Solr via SolrJ.SolrHttpClientBuilder Builder class for configuring internal HttpClients.SolrHttpClientContextBuilder SolrHttpClientContextBuilder.AuthSchemeRegistryProvider SolrHttpClientContextBuilder.CookieSpecRegistryProvider SolrHttpClientContextBuilder.CredentialsProviderProvider SolrHttpRequestRetryHandler SolrPortAwareCookieSpecFactory SolrPortAwareCookieSpecFactory.PortAwareCookieSpec SolrPortAwareCookieSpecFactory.PortAwareDomainHandler A domain handler to validate and match cookies based on the domain and origin.StreamingBinaryResponseParser A BinaryResponseParser that sends callback events rather then build a large responseXMLResponseParser ZkClientClusterStateProvider ZkDistribStateManager Implementation ofDistribStateManager
that uses Zookeeper. -
Enum Summary Enum Description XMLResponseParser.KnownType -
Exception Summary Exception Description BaseCloudSolrClient.RouteException BaseHttpSolrClient.RemoteExecutionException This should be thrown when a server has an error in executing the request and it sends a proper payload back to the clientBaseHttpSolrClient.RemoteSolrException Subclass of SolrException that allows us to capture an arbitrary HTTP status code that may have been returned by the remote server or a proxy along the way.CloudSolrClient.RouteException Deprecated. since Solr 8.0HttpSolrClient.RemoteExecutionException Deprecated. since 8.0, catchBaseHttpSolrClient.RemoteExecutionException
insteadHttpSolrClient.RemoteSolrException Deprecated. since 8.0, catchBaseHttpSolrClient.RemoteSolrException
instead