epugh commented on code in PR #4320: URL: https://github.com/apache/solr/pull/4320#discussion_r3324140171
########## solr/solr-ref-guide/modules/upgrade-notes/pages/major-changes-in-solr-10.adoc: ########## @@ -40,6 +40,25 @@ For SSL (https), it's no longer necessary to set the "urlScheme" cluster propert These are now honored by CloudSolrClient, as well as scheme detection from the connection string / hosts. The "urlScheme" cluster property and httpShardHandlerFactory configuration is likely to be deprecated; feedback welcome. +=== Universal connection string support + +Introduced a universal Solr connection string for SolrCloud connections. + +Connections can now be configured via HTTP(S) without exposing ZooKeeper details, while the legacy ZooKeeper-based connection method remains fully supported. + +Examples: +`solrConnection=http://solr1:8983/solr,http://solr2:8983/solr` +`solrConnection=zoo1:2181,zoo2:2181,zoo3:2181/solr` + +The universal connection string is now supported in the following components and entry points: + +* Added `CloudSolrClient.Builder(String)` constructor in SolrJ for configuring SolrCloud clients using either HTTP(S)-based or ZooKeeper-based connection strings. +* Added `solrConnection` parameter to all streaming functions in the SolrJ Streaming module. The existing `zkHost` parameter remains supported. +* Added `withDefaultSolrConnection` and `withCollectionSolrConnection` methods to `StreamFactory` in the SolrJ Streaming module. +* Solr SQL JDBC driver now supports both HTTP-based (`jdbc:solr:http://solr1.example.com:8983/solr?collection=COLLECTION_NAME`) and ZooKeeper-based (`jdbc:solr://zoo.example.com:2181/solr?collection=COLLECTION_NAME`) JDBC URLs. +* Added `--solr-connection` option to the CLI tools. Review Comment: ```suggestion * Added `-sc`,`--solr-connection` option to the CLI tools. ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
