This is an automated email from the ASF dual-hosted git repository.

malliaridis pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new d6b9a2bdf63 SOLR-17468: Fix Windows start script for default / cloud 
mode (#2784)
d6b9a2bdf63 is described below

commit d6b9a2bdf6330a9879ef76b1294293a744c91937
Author: Christos Malliaridis <[email protected]>
AuthorDate: Tue Oct 22 14:27:16 2024 +0200

    SOLR-17468: Fix Windows start script for default / cloud mode (#2784)
    
    (cherry picked from commit 577e7012ca476b2ea2c7102d5301bfbec128f048)
---
 solr/bin/solr.cmd | 1 +
 1 file changed, 1 insertion(+)

diff --git a/solr/bin/solr.cmd b/solr/bin/solr.cmd
index b862345e57c..e43141d9dcf 100755
--- a/solr/bin/solr.cmd
+++ b/solr/bin/solr.cmd
@@ -950,6 +950,7 @@ if !JAVA_MAJOR_VERSION! LSS 9  (
 )
 
 IF NOT "%ZK_HOST%"=="" set SOLR_MODE=solrcloud
+IF "%SOLR_MODE%"=="" set SOLR_MODE=solrcloud
 
 IF "%SOLR_MODE%"=="solrcloud" (
   @echo Solr will start in SolrCloud mode by default in version 10, and you 
will no longer need to pass in -c or --cloud flag.

Reply via email to