/** * Uses the supplied HttpClient to send documents to the Solr server. * * @deprecated use {@link ConcurrentUpdateSolrClient#ConcurrentUpdateSolrClient(Builder)} instead, as it is a more extension/subclassing-friendly alternative */ @Deprecated protected ConcurrentUpdateSolrClient(String solrServerUrl, HttpClient client, int queueSize, int threadCount, ExecutorService es, boolean streamDeletes) { this((streamDeletes) ? new Builder(solrServerUrl) .withHttpClient(client) .withQueueSize(queueSize) .withThreadCount(threadCount) .withExecutorService(es) .alwaysStreamDeletes() : new Builder(solrServerUrl) .withHttpClient(client) .withQueueSize(queueSize) .withThreadCount(threadCount) .withExecutorService(es) .neverStreamDeletes()); }