Christos Malliaridis created SOLR-17481:
-------------------------------------------
Summary: CLI: Resolve -n flag conflicts
Key: SOLR-17481
URL: https://issues.apache.org/jira/browse/SOLR-17481
Project: Solr
Issue Type: Sub-task
Components: cli
Affects Versions: 9.6.1, 9.7
Reporter: Christos Malliaridis
The flag {{\-n}} is currently used for providing a configuration name (short
name of {{\-\-config-name}}) in {{CreateTool}}, {{ConfigSetUploadTool}},
{{ConfigSetDownloadTool}}, {{LinkConfigTool}}, {{ZkCLI}} (9x), for providing
the number of threads in SolrExporter, and for disabling prompt (no-prompt) in
RunExapmleTool.
Due to the multi-use, we should:
- keep -n for defining the configuration name
- deprecate (9x) and remove (10.0) {{\-n}} for defining the number of threads
in {{SolrExporter}}
- deprecate (9x) and remove (10.0) {{\-n}} for {{no-prompt}} in
{{RunExampleTool}} (this option is not supported via {{bin/solr}} or
{{bin/solr.cmd}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]