You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Christos Malliaridis (Jira)" <ji...@apache.org> on 2024/08/30 16:50:00 UTC

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

Christos Malliaridis created SOLR-17431:
-------------------------------------------

             Summary: 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.6.1, 9.7
            Reporter: Christos Malliaridis


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