[ 
https://issues.apache.org/jira/browse/SOLR-5604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865753#comment-13865753
 ] 

Shawn Heisey commented on SOLR-5604:
------------------------------------

[~olegk] replied to my httpclient-users post.  Thank you!

Some general thoughts regarding how SolrServer implementations use HttpClient:  
Currently we have a number of methods that change HttpClient settings after a 
SolrServer is created.  I think there are two choices for dealing with this, 
and the actual solution might be a blend of both:

1) Deprecate those methods and require users to create their own HttpClient 
object if they want to change those settings.

2) Have those methods change fields in the class which are then used to change 
settings when HC request objects are built.

I think the httpclient changes for Lucene need to be split off into a separate 
issue under the LUCENE project.


> 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
>
>         Attachments: SOLR-5604-4x-just-lucene.patch
>
>
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to