[
https://issues.apache.org/jira/browse/SOLR-17481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888298#comment-17888298
]
ASF subversion and git services commented on SOLR-17481:
--------------------------------------------------------
Commit a4cc5809c52eceffae10cb219299f40e0755e9a9 in solr's branch
refs/heads/main from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=a4cc5809c52 ]
SOLR-17481: Resolve use of -n flag in CLI commands (#2745)
> 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.7, 9.6.1
> Reporter: Christos Malliaridis
> Assignee: Eric Pugh
> Priority: Major
> Labels: cli, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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]