You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/10/10 23:03:00 UTC
[jira] [Updated] (SOLR-17488) CLI: Resolve -d conflicts
[ https://issues.apache.org/jira/browse/SOLR-17488?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated SOLR-17488:
----------------------------------
Labels: cli pull-request-available (was: cli)
> CLI: Resolve -d conflicts
> -------------------------
>
> Key: SOLR-17488
> URL: https://issues.apache.org/jira/browse/SOLR-17488
> Project: Solr
> Issue Type: Sub-task
> Components: cli
> Affects Versions: 9.7, 9.6.1
> Reporter: Christos Malliaridis
> Priority: Major
> Labels: cli, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The CLI flag {{\-d}} is currently used in four options:
> - {{conf-dir}} for providing the configuration directory in CreateTool, ConfigSetDownloadTool, ConfigSetUploadTool, ZKCLI
> - {{delete-config}} (with argument) for deleting configurations together with collections in DeleteTool, defualts to {{true}}
> - {{server-dir}} for defining the Solr root / server directory in RunExampleTool
> - {{delay}} for delaying recursive posts in PostTool
> *Proposed Resolution*
> In order to avoid confusion of the {{\-d}} flag, the following changes are proposed:
> - keep {{\-d}} for {{conf-dir}} in CreateTool, ConfigSetDownloadTool, ConfigSetUploadTool, ZKCLI
> - Deprecated (9.8) and remove (10.0) the {{delete-config}} option by replacing it with {{keep}} ({{\-\-keep}} without arguments) for simplifying and improving user experience and avoid conflict of {{\-d}}. "{{\-\-keep}}" should behave equivalent to "{{\-\-delete-config false}}".
> - Deprecate (9.8) and remove (10.0) {{\-d}} for {{server-dir}} in RunExmapleTool. Note that {{\-\-server-dir}} may be removed or renamed to use better wording in the future.
> - Support {{\-\-server-dir}} in {{bin/solr}} and if necessary {{bin/solr.cmd}} in version 9.8 and 10.0
> - Deprecate (9.8) and remove (10.0) {{\-d}} for {{delay}} in PostTool to avoid any confusion with {{conf-dir}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org