janhoy commented on PR #3240: URL: https://github.com/apache/solr/pull/3240#issuecomment-2702257270
> I feel that the users may be overwhelmed with the amount of options we give them for defining a property (CLI option, env vars and file), which makes our code more complex as well Adding `ZK_HOST=foo` to solr.in.sh has the same effect as adding `export ZK_HOST=foo` to your shell. It comes very handy when e.g. running Solr as a container and you can configure a lot with just env instead of having to patch the `CMD` part. The CLI tools like `zk cp` behaves the same as when starting solr itself. So you can set `SOLR_URL` or `ZK_HOST` variable and then run much shorter commands to work with your cluster. Perhaps we could do a better job in SolrCLI of wrapping such common behavior in more generic utils like ```java ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
