mirror of https://github.com/apache/lucene.git
SOLR-10735: Fixing windows space directory issue
This commit is contained in:
parent
8f92fb4722
commit
45b26e322f
|
@ -477,6 +477,9 @@ Bug Fixes
|
||||||
"lucene"/standard query parser, should require " TO " in range queries,
|
"lucene"/standard query parser, should require " TO " in range queries,
|
||||||
and accept "TO" as endpoints in range queries. (hossman, Steve Rowe)
|
and accept "TO" as endpoints in range queries. (hossman, Steve Rowe)
|
||||||
|
|
||||||
|
* SOLR-10735: Windows script (solr.cmd) didn't work properly with directory containing spaces. Adding quotations
|
||||||
|
to fix (Uwe Schindler, janhoy, Tomas Fernandez-Lobbe, Ishan Chattopadhyaya)
|
||||||
|
|
||||||
Other Changes
|
Other Changes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|
|
@ -2941,7 +2941,7 @@ public class SolrCLI {
|
||||||
solrHome = solrHome.substring(cwdPath.length()+1);
|
solrHome = solrHome.substring(cwdPath.length()+1);
|
||||||
|
|
||||||
String startCmd =
|
String startCmd =
|
||||||
String.format(Locale.ROOT, "%s start %s -p %d -s \"%s\" %s %s %s %s %s %s",
|
String.format(Locale.ROOT, "\"%s\" start %s -p %d -s \"%s\" %s %s %s %s %s %s",
|
||||||
callScript, cloudModeArg, port, solrHome, hostArg, zkHostArg, memArg, forceArg, extraArgs, addlOptsArg);
|
callScript, cloudModeArg, port, solrHome, hostArg, zkHostArg, memArg, forceArg, extraArgs, addlOptsArg);
|
||||||
startCmd = startCmd.replaceAll("\\s+", " ").trim(); // for pretty printing
|
startCmd = startCmd.replaceAll("\\s+", " ").trim(); // for pretty printing
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue