You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2022/10/27 16:23:00 UTC

[jira] [Created] (SOLR-16503) Switch UpdateShardHandler.getDefaultHttpClient to Jetty HTTP2

David Smiley created SOLR-16503:
-----------------------------------

             Summary: Switch UpdateShardHandler.getDefaultHttpClient to Jetty HTTP2
                 Key: SOLR-16503
                 URL: https://issues.apache.org/jira/browse/SOLR-16503
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: David Smiley


Much of Solr's remaining uses of Apache HttpClient (HTTP 1) is due to {{org.apache.solr.update.UpdateShardHandler#getDefaultHttpClient}} which underlies most Solr-to-Solr connectivity.  This also underlies the {{{}CoreContainer.getSolrClientCache{}}}.  Lets switch to Jetty (HTTP 2).
----
In SolrClientCache in particular:

Switch use of CloudLegacySolrClient.Builder to CloudSolrClient.Builder

Switch use of HttpSolrClient.Builder to Http2SolrClient.Builder

Undeprecate all the methods here.  They should not have been deprecated in the first place.

The constructor: switch from Apache HttpClient to a Jetty HttpClient.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org