[ https://issues.apache.org/jira/browse/SOLR-17488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888735#comment-17888735 ]
ASF subversion and git services commented on SOLR-17488: -------------------------------------------------------- Commit c428d47408b55cd9943237ab49477c89fcd0f0ca in solr's branch refs/heads/branch_9x from Eric Pugh [ https://gitbox.apache.org/repos/asf?p=solr.git;h=c428d47408b ] SOLR-17488: CLI: Resolve -d conflicts (#2754) (cherry picked from commit 19cf21e261b8dd01ee46581761f07c8062139d4d) > 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 > Assignee: Eric Pugh > Priority: Major > Labels: cli, pull-request-available > Time Spent: 40m > 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-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org