HoustonPutman commented on code in PR #1256:
URL: https://github.com/apache/solr/pull/1256#discussion_r1143933928
##########
solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudHttp2SolrClient.java:
##########
@@ -332,6 +335,11 @@ public Builder withRetryExpiryTime(long expiryTime,
TimeUnit unit) {
return this;
}
+ /** Sets the default collection for request. */
+ public Builder withDefaultCollection(String collection) {
Review Comment:
I'm not sure I see the benefit of throwing an error when a different
collection is used than the default. I feel like the idea behind this option is
just to make it easier for people to not have to specify the collection in
their commands most of the time. If you are explicitly setting a collection in
a command, its pretty unlikely that that was an error...
--
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]