Class CloudJettySolrClient

java.lang.Object
org.apache.solr.client.solrj.SolrClient
org.apache.solr.client.solrj.impl.CloudSolrClient
org.apache.solr.client.solrj.impl.CloudHttp2SolrClient
org.apache.solr.client.solrj.jetty.CloudJettySolrClient
All Implemented Interfaces:
Closeable, Serializable, AutoCloseable

public class CloudJettySolrClient extends org.apache.solr.client.solrj.impl.CloudHttp2SolrClient
A CloudSolrClient using Jetty HttpClient for HTTP communication. This is Solr's most robust CloudSolrClient.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class org.apache.solr.client.solrj.impl.CloudSolrClient

    org.apache.solr.client.solrj.impl.CloudSolrClient.RouteException, org.apache.solr.client.solrj.impl.CloudSolrClient.RouteResponse<T extends org.apache.solr.client.solrj.impl.LBSolrClient.Req>, org.apache.solr.client.solrj.impl.CloudSolrClient.StateCache

    Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrClient

    org.apache.solr.client.solrj.SolrClient.SolrClientFunction<C extends org.apache.solr.client.solrj.SolrClient,R>
  • Field Summary

    Fields inherited from class org.apache.solr.client.solrj.impl.CloudSolrClient

    collectionStateCache, retryExpiryTimeNano, STATE_VERSION

    Fields inherited from class org.apache.solr.client.solrj.SolrClient

    defaultCollection
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.apache.solr.client.solrj.impl.CloudHttp2SolrClient

    close, getClusterStateProvider, getLbClient

    Methods inherited from class org.apache.solr.client.solrj.impl.CloudSolrClient

    condenseResponse, condenseResponse, connect, connect, createRoutes, getClusterState, getDocCollection, getMinAchievedReplicationFactor, getParser, getRequestWriter, getRouteException, getShardReplicationFactor, getStateRefreshParallelism, isDirectUpdatesToLeadersOnly, isParallelUpdates, isUpdatesToLeaders, request, requestWithRetryOnStaleState, sendRequest, wasCommError

    Methods inherited from class org.apache.solr.client.solrj.SolrClient

    add, add, add, add, add, add, add, add, add, add, addBean, addBean, addBean, addBean, addBeans, addBeans, addBeans, addBeans, addBeans, addBeans, commit, commit, commit, commit, commit, commit, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteByQuery, deleteByQuery, deleteByQuery, deleteByQuery, getById, getById, getById, getById, getById, getById, getById, getById, getContext, getDefaultCollection, optimize, optimize, optimize, optimize, optimize, optimize, ping, ping, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollback

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getHttpClient

      public HttpJettySolrClient getHttpClient()
      Overrides:
      getHttpClient in class org.apache.solr.client.solrj.impl.CloudHttp2SolrClient