Recently the Lucene-Solr projectupgraded HttpClientin our codebase from
4.2.6 to 4.3.1.

https://issues.apache.org/jira/browse/SOLR-5590

Although this did not require any java code changes and seems to have
occurred without any new test failures, it will come as no surprise to
anyone here that this has resulted in lots and lots of deprecations in
existing code.

I am attempting to fix this situation, but I am coming up pretty empty
while looking for comprehensive information on how to migrate.  I made a
small start after a lot of research:

https://issues.apache.org/jira/browse/SOLR-5604

It seems that there is no longer any non-deprecated way to change
default parameters on an existing HttpClient object, and what few
examples I can find suggest changing parameters on the request, not the
client.  Using HttpClientBuilder is going to require a fairly
significant paradigm shift for Solr, and I could really use a migration
guide or some extremely comprehensive examples.

Are there any more significant deprecations coming in the foreseeable
future that we should prepare for now?  I know that nobody can reliably
predict the future, but if I can write code that stands a chance of
continuing to be functional through the next two major HC versions, I'd
like to.

Thanks,
Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to