vyatkinv commented on code in PR #4320:
URL: https://github.com/apache/solr/pull/4320#discussion_r3176997319
##########
solr/core/src/java/org/apache/solr/cli/CommonCLIOptions.java:
##########
@@ -33,13 +34,26 @@ private CommonCLIOptions() {}
Option.builder("z")
.longOpt("zk-host")
.hasArg()
+ .deprecated(
+ DeprecatedAttributes.builder().setDescription("Use
solr-connection instead").get())
.argName("HOST")
.desc(
"Zookeeper connection string; unnecessary if ZK_HOST is defined
in solr.in.sh; otherwise, defaults to "
+ DefaultValues.ZK_HOST
+ '.')
.get();
+ public static final Option SOLR_CONNECTION_OPTION =
+ Option.builder("q")
Review Comment:
I initially planned to implement this option in this PR, but later realized
it is not trivial, so I dropped the idea for now and simply forgot to remove it.
--
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]