[
https://issues.apache.org/jira/browse/SOLR-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13862376#comment-13862376
]
Shawn Heisey commented on SOLR-5604:
------------------------------------
It's starting to look like the entire approach we currently use is deprecated.
Right now, we create a SystemDefaultHttpClient and then tweak its properties,
even when parameters are sent on the createClient call. The current approach
lets you change parameters after a client is created, too.
I can't see any way to do what I've just described that doesn't use deprecated
classes or methods. From what I can see, the intended path forward is to set
the options on the builder object and then build the resulting
CloseableHttpClient in one final build() call.
> Remove deprecations caused by httpclient 4.3.x upgrade
> ------------------------------------------------------
>
> Key: SOLR-5604
> URL: https://issues.apache.org/jira/browse/SOLR-5604
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 4.7
> Reporter: Shawn Heisey
> Fix For: 5.0, 4.7
>
>
> SOLR-5590 upgraded httpclient in Solr and Lucene to version 4.3.x. This
> version deprecates a LOT of classes and methods, recommending that they all
> be replaced with various methods from the HttpClientBuilder class.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]