epugh commented on code in PR #1808:
URL: https://github.com/apache/solr/pull/1808#discussion_r1286963177
##########
solr/core/src/java/org/apache/solr/cli/SolrCLI.java:
##########
@@ -444,8 +453,34 @@ private static void printHelp() {
print("Pass -help or -h after any COMMAND to see command-specific usage
information,");
print("such as: ./solr start -help or ./solr stop -h");
}
+
/**
- * Get the base URL of a live Solr instance from either the solrUrl
command-line option from
+ * Strips off the end of solrUrl any /solr when a legacy solrUrl like
http://localhost:8983/solr
+ * is used, and warns those users. In the future we'll have url's with /api
as well.
+ *
+ * @param solrUrl with /solr stripped off.
Review Comment:
doh!
--
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]