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 2026/05/14 22:14:00 UTC

[jira] [Created] (SOLR-18243) Refactor: solrj-streaming shouldn't call SolrClientCache.getHttpSolrClient

David Smiley created SOLR-18243:
-----------------------------------

             Summary: Refactor: solrj-streaming shouldn't call SolrClientCache.getHttpSolrClient
                 Key: SOLR-18243
                 URL: https://issues.apache.org/jira/browse/SOLR-18243
             Project: Solr
          Issue Type: Task
          Components: streaming expressions
            Reporter: David Smiley


solrj-streaming calls SolrClientCache.getHttpSolrClient in a number of places, and I believe in each of those cases, the URL comes from a ClusterState that came from a CloudSolrClient.  Nowadays, {{org.apache.solr.client.solrj.impl.CloudHttp2SolrClient#getHttpClient}} can be called and then {{requestWithBaseUrl}} on that.  If that is too awkward, we can create a temporary HttpSolrClient with a builder that uses the same httpClient from the CloudSolrClient, if coding that is easier (shrug).



--
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