iamsanjay commented on code in PR #2351: URL: https://github.com/apache/solr/pull/2351#discussion_r1595227078
########## solr/core/src/java/org/apache/solr/update/UpdateShardHandler.java: ########## @@ -236,11 +246,17 @@ public SolrMetricsContext getSolrMetricsContext() { return solrMetricsContext; } - // if you are looking for a client to use, it's probably this one. + // please use getDefaultHttpSolrClient instead. + @Deprecated(since = "9.6") public HttpClient getDefaultHttpClient() { return defaultClient; } + // if you are looking for a client to use, it's probably this one. Review Comment: I think it's the name, `UpdateShardHandler`, which is not appropriate anymore. It started off with right intentions as there was only one client in the beginning, where now it encloses three HTTP clients. I can create one method in `CoreContainer#getDefaultHttpSolrClient` and delegate to SolrClientCache for the Default client? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org