Class SolrClientBuilder<B extends SolrClientBuilder<B>>

    • Field Detail

      • timeToLiveSeconds

        protected int timeToLiveSeconds
        Deprecated.
      • httpClient

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

        protected RequestWriter requestWriter
        Deprecated.
      • useMultiPartPost

        protected boolean useMultiPartPost
        Deprecated.
      • connectionTimeoutMillis

        protected Long connectionTimeoutMillis
        Deprecated.
      • socketTimeoutMillis

        protected Long socketTimeoutMillis
        Deprecated.
      • followRedirects

        protected boolean followRedirects
        Deprecated.
      • urlParamNames

        protected Set<String> urlParamNames
        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.
      • withRequestWriter

        public B withRequestWriter​(RequestWriter requestWriter)
        Deprecated.
        Provides a RequestWriter for created clients to use when handing requests.
      • allowMultiPartPost

        public B allowMultiPartPost​(Boolean useMultiPartPost)
        Deprecated.
        Enables or disables splitting POST requests into pieces.
      • withTheseParamNamesInTheUrl

        public B withTheseParamNamesInTheUrl​(Set<String> queryParams)
        Deprecated.
        Provides a set of keys which the created client will send as a part of the query string.
        Parameters:
        queryParams - set of param keys to only send via the query string Note that the param will be sent as a query string if the key is part of this Set or the SolrRequest's query params.
      • withFollowRedirects

        public B withFollowRedirects​(boolean followRedirects)
        Deprecated.
      • withConnectionTimeout

        public B withConnectionTimeout​(long connectionTimeout,
                                       TimeUnit unit)
        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​(long socketTimeout,
                                   TimeUnit unit)
        Deprecated.
        Tells HttpSolrClient.Builder that created clients should set the following read timeout on all sockets.

        For valid values see RequestConfig.getSocketTimeout()