[ 
https://issues.apache.org/jira/browse/SOLR-17431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17881264#comment-17881264
 ] 

ASF subversion and git services commented on SOLR-17431:
--------------------------------------------------------

Commit e2a0402d450bf358bfb61cd6377bcc7e17273df3 in solr's branch 
refs/heads/main from Eric Pugh
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e2a0402d450 ]

SOLR-17431: Deprecate -p parameter where it doesn't refer to a port. (#2690)



> 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: 1.5h
>  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-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to