You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2014/01/03 20:05:57 UTC
[jira] [Commented] (SOLR-5604) Remove deprecations caused by
httpclient 4.3.x upgrade
[ https://issues.apache.org/jira/browse/SOLR-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13861788#comment-13861788 ]
Shawn Heisey commented on SOLR-5604:
------------------------------------
I made the same upgrade in my SolrJ application some time ago. At the time, in an attempt to get rid of the deprecated stuff in my own code, I tried to make everything use HttpClientBuilder. I got exceptions when I tried to use the resulting HttpClient object with SolrJ. I ended up switching over to using the HttpClientUtil class in SolrJ to build the client, which punted the problem upstream -- this issue.
I am willing to attempt the fix for this issue if someone can assist with pointers for the rough spots, otherwise someone else should jump in.
Do we need a separate issue for the related changes in documentation?
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org