rahulgoswami commented on PR #2671:
URL: https://github.com/apache/solr/pull/2671#issuecomment-2351383279

   Opened PR https://github.com/epugh/solr/pull/10 against this branch
   
   currently below usage of -a in solr start doesn't raise any alert and starts 
solr successfully:
   
    solr start -a -p 8983 -s 
"C:\Work\Git\ApacheSolr\solr\solr\packaging\build\dev\example\techproducts\solr"
   
   PR will make the behaviour consistent with Linux. 
   
   Also I have a different opinion on solr stop behavior. In the new 
implementation on Linux, solr stop -a would say "Jvm options are required when 
using the -a option!" . But truly what the user's intent is to stop all 
instances . 
   
   On Windows, the user gets a message "ERROR: Must specify the port when 
trying to stop Solr, or use --all to stop all running nodes on this host." 
which imo guides them better than the Linux implementation. For this reason I 
have retained this Windows message in my PR. Happy to make the change for Linux 
too, but would need your help for validation. :)


-- 
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