Class SolrClientBuilder<B extends SolrClientBuilder<B>>

    • Field Detail

      • httpClient

        protected org.apache.http.client.HttpClient httpClient
        Deprecated.
      • connectionTimeoutMillis

        protected Integer connectionTimeoutMillis
        Deprecated.
      • socketTimeoutMillis

        protected Integer socketTimeoutMillis
        Deprecated.
    • Constructor Detail

      • SolrClientBuilder

        public SolrClientBuilder()
        Deprecated.
    • Method Detail

      • getThis

        public abstract B getThis()
        Deprecated.
        The solution for the unchecked cast warning.
      • withHttpClient

        public B withHttpClient​(org.apache.http.client.HttpClient httpClient)
        Deprecated.
        Provides a HttpClient for the builder to use when creating clients.
      • withResponseParser

        public B withResponseParser​(ResponseParser responseParser)
        Deprecated.
        Provides a ResponseParser for created clients to use when handling requests.
      • withConnectionTimeout

        public B withConnectionTimeout​(int connectionTimeoutMillis)
        Deprecated.
        Tells HttpSolrClient.Builder that created clients should obey the following timeout when connecting to Solr servers.

        For valid values see RequestConfig.getConnectTimeout()

      • withSocketTimeout

        public B withSocketTimeout​(int socketTimeoutMillis)
        Deprecated.
        Tells HttpSolrClient.Builder that created clients should set the following read timeout on all sockets.

        For valid values see RequestConfig.getSocketTimeout()