serhiy-bzhezytskyy commented on code in PR #4762:
URL: https://github.com/apache/solr/pull/4762#discussion_r3823075190
##########
solr/test-framework/src/java/org/apache/solr/cloud/MiniSolrCloudCluster.java:
##########
@@ -692,6 +692,15 @@ public CloudSolrClient newSolrClient(String collection) {
.build(); // we choose 90 because we run in some harsh envs
}
+ /**
+ * Returns a new {@link
org.apache.solr.client.solrj.impl.CloudSolrClient.Builder} pointed at this
+ * cluster's ZooKeeper ensemble, to customize further (default collection,
update routing, HTTP
+ * client, ...) before calling {@code build()}.
+ */
+ public CloudSolrClient.Builder getSolrClientBuilder() {
Review Comment:
Done -- renamed to `newSolrClientBuilder`.
##########
solr/test-framework/src/java/org/apache/solr/cloud/MiniSolrCloudCluster.java:
##########
@@ -692,6 +692,15 @@ public CloudSolrClient newSolrClient(String collection) {
.build(); // we choose 90 because we run in some harsh envs
}
+ /**
+ * Returns a new {@link
org.apache.solr.client.solrj.impl.CloudSolrClient.Builder} pointed at this
+ * cluster's ZooKeeper ensemble, to customize further (default collection,
update routing, HTTP
Review Comment:
Fair -- trimmed to just what it returns, dropped the customization list.
--
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]