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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to