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/09/02 23:11:00 UTC

[jira] [Updated] (SOLR-17431) CLI: Resolve -p flag conflict (port, property, param, params)

     [ https://issues.apache.org/jira/browse/SOLR-17431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SOLR-17431:
----------------------------------
    Labels: cli newdev pull-request-available  (was: cli newdev)

> CLI: Resolve -p flag conflict (port, property, param, params)
> -------------------------------------------------------------
>
>                 Key: SOLR-17431
>                 URL: https://issues.apache.org/jira/browse/SOLR-17431
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: cli
>    Affects Versions: 9.7, 9.6.1
>            Reporter: Christos Malliaridis
>            Priority: Major
>              Labels: cli, newdev, pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the CLI analysis we found that -p is used for "port", "property", "param" and "params", in different CLI classes. Due to the potential confusion and mistakes new users may run into, we should remove the short variant for the less significant flags and keep the -p option only for the port flag (–port, currently used in RunExampleTool and SolrExporter).
> This is means that we have to deprecate for 9.8 the -p option for "property" in ConfigTool, for "param" in PackageTool and for "params" in PostTool, and remove the option completely in main / 10.0. *Do not* depricate the full-length flags though.
> When updating, make sure bin/solr, bin/solr.cmd and the documentation are all updated accordingly. The changes will be reflected afterwards in [Solr Arguments - Migration Overview|https://docs.google.com/spreadsheets/d/1ws44kN51WnGwQzOXc8KKRQ93TMgHSqIGb02MRWFel_U/edit?usp=sharing].



--
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