epugh commented on code in PR #2778:
URL: https://github.com/apache/solr/pull/2778#discussion_r1806318932


##########
solr/core/src/java/org/apache/solr/cli/PostTool.java:
##########
@@ -315,8 +315,7 @@ public void runImpl(CommandLine cli) throws Exception {
         throw new IllegalArgumentException(
             "Must specify -c / --name parameter with --solr-url to post 
documents.");
       }
-      String url =
-          SolrCLI.normalizeSolrUrl(cli) + "/solr/" + 
cli.getOptionValue("name") + "/update";
+      String url = SolrCLI.normalizeSolrUrl(cli) + "/" + 
cli.getOptionValue("name") + "/update";

Review Comment:
   I think, and I'm tagging @gerlowskija as well, that the overall idea is that 
we want bare Solr urls, and then add the appropriate `/solr` or `/api` as 
needed.   



-- 
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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to