# Deprecated API

## Contents

- Deprecated Fields
- Deprecated Methods
- Deprecated Constructors

Deprecated Fields
Field and Description
org.apache.solr.common.params.CollectionParams.FROM_NODE use `CollectionParams.SOURCE_NODE` instead

Deprecated Methods
Method and Description
org.apache.solr.client.solrj.SolrRequest.getContentStreams() Please use `SolrRequest.getContentWriter(String)` instead.
org.apache.solr.common.cloud.ClusterState.getZkClusterStateVersion() true cluster state spans many ZK nodes, stop depending on the version number of the shared node! will be removed in 8.0
org.apache.solr.common.cloud.rule.SnitchContext.invokeRemote(String, ModifiableSolrParams, String, RemoteCallback)
org.apache.solr.client.solrj.impl.HttpSolrClient.setConnectionTimeout(int) since 7.0 Use `HttpSolrClient.Builder` methods instead.
org.apache.solr.client.solrj.impl.CloudSolrClient.setConnectionTimeout(int) since 7.0 Use `CloudSolrClient.Builder` methods instead.
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient.setConnectionTimeout(int) since 7.0 Use `ConcurrentUpdateSolrClient.Builder` methods instead.
org.apache.solr.client.solrj.impl.LBHttpSolrClient.setConnectionTimeout(int) since 7.0 Use `LBHttpSolrClient.Builder` methods instead.
org.apache.solr.client.solrj.impl.CloudSolrClient.setParallelUpdates(boolean) since 7.2 Use `CloudSolrClient.Builder` methods instead.
org.apache.solr.client.solrj.impl.HttpSolrClient.setSoTimeout(int)
org.apache.solr.client.solrj.impl.CloudSolrClient.setSoTimeout(int) since 7.0 Use `CloudSolrClient.Builder` methods instead.
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient.setSoTimeout(int) since 7.0 Use `ConcurrentUpdateSolrClient.Builder` methods instead.
org.apache.solr.client.solrj.impl.LBHttpSolrClient.setSoTimeout(int) since 7.0 Use `LBHttpSolrClient.Builder` methods instead.

Deprecated Constructors
Constructor and Description
org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient(String, HttpClient, int, int, ExecutorService, boolean) use `ConcurrentUpdateSolrClient.ConcurrentUpdateSolrClient(Builder)` instead, as it is a more extension/subclassing-friendly alternative
org.apache.solr.client.solrj.impl.DelegationTokenHttpSolrClient(String, HttpClient, ResponseParser, boolean, ModifiableSolrParams) use `DelegationTokenHttpSolrClient.DelegationTokenHttpSolrClient(HttpSolrClient.Builder)` instead, as it is a more extension/subclassing-friendly alternative
org.apache.solr.client.solrj.impl.HttpSolrClient(String, HttpClient, ResponseParser, boolean) use `HttpSolrClient.HttpSolrClient(Builder)` instead, as it is a more extension/subclassing-friendly alternative
org.apache.solr.client.solrj.impl.HttpSolrClient(String, HttpClient, ResponseParser, boolean, ModifiableSolrParams) use `HttpSolrClient.HttpSolrClient(Builder)` instead, as it is a more extension/subclassing-friendly alternative
org.apache.solr.client.solrj.impl.LBHttpSolrClient(HttpClient, ResponseParser, String...) use `LBHttpSolrClient.LBHttpSolrClient(Builder)` instead, as it is a more extension/subclassing-friendly alternative
org.apache.solr.client.solrj.impl.LBHttpSolrClient(HttpSolrClient.Builder, HttpClient, String...) use `LBHttpSolrClient.LBHttpSolrClient(Builder)` instead, as it is a more extension/subclassing-friendly alternative