AndreyBozhko commented on code in PR #2473: URL: https://github.com/apache/solr/pull/2473#discussion_r1609001401
########## solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrClient.java: ########## @@ -374,7 +374,7 @@ protected HttpRequestBase createMethod(SolrRequest<?> request, String collection if (request instanceof V2Request) { if (System.getProperty("solr.v2RealPath") == null || ((V2Request) request).isForceV2()) { - basePath = baseUrl.replace("/solr", "/api"); + basePath = changeV2RequestEndpoint(baseUrl); Review Comment: Not sure if this needs to be updated as HttpSolrClient class is deprecated -- 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