[
https://issues.apache.org/jira/browse/SOLR-17424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Høydahl resolved SOLR-17424.
--------------------------------
Resolution: Invalid
We do not use Jira as support portal.
Please ask your question in the «users» mailing list instead.
I’ll close this JIRA now.
> Upgrade Solrj 8 to 9 can not connect to solr cloud.
> ---------------------------------------------------
>
> Key: SOLR-17424
> URL: https://issues.apache.org/jira/browse/SOLR-17424
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: clients - java
> Affects Versions: 9.4.1, 9.6.1
> Reporter: Phạm Đức Anh
> Priority: Major
> Attachments: image.png
>
>
> Dear team,
> I was using solrj 8.10.1 with this code and it worked ok no problem.
> {code:java}
> // public SolrClient solrClient(Environment env) {
> String username =
> env.getProperty("spring.data.solr.authentication.username");
> String password =
> env.getProperty("spring.data.solr.authentication.password");
> List<String> zkHosts =
> formatSolrZooKeeperUrl(Objects.requireNonNull(env.getProperty("spring.data.solr.zk-host")));
> Http2SolrClient httpClient = new Http2SolrClient.Builder()
> .withBasicAuthCredentials(username, password)
> .build();
> return new CloudHttp2SolrClient
> .Builder(zkHosts, Optional.of("/solr"))
> .withHttpClient(httpClient)
> .build();
> } {code}
> But when I upgraded to solrj 9.6.1 (both 9.4.1). I got the problem in
> attachment. I dont know why HttpClient when using the transport with
> HttpClient they can't find the ClientConnector inside the transport. I've
> already debug and saw the ClientConnector instance inside the obj transport.
> Help me please. Thanks so much
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]