[
https://issues.apache.org/jira/browse/SOLR-17489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh reassigned SOLR-17489:
--------------------------------
Assignee: Eric Pugh
> CLI: Merge solr-url variants
> ----------------------------
>
> Key: SOLR-17489
> URL: https://issues.apache.org/jira/browse/SOLR-17489
> Project: Solr
> Issue Type: Sub-task
> Components: cli
> Reporter: Christos Malliaridis
> Assignee: Eric Pugh
> Priority: Major
> Labels: cli
>
> The CLI currently uses tool-specific options for providing a {{solr-url}}.
> This requires the user to know for each tool (first argument) which option
> needs to be used to provide the url.
> The user experience can be improved by merging these options and by providing
> a single shared option for the Solr URL and additional options for specific
> tools if more information is necessary (like collection names).
> *Migration Proposal*
> _{{base-url}} option_
> The {{base-url}} ({{\-\-base-url}} and {{\-b}}) option can be migrated to
> {{solr-url}} ({{\-\-solr-url}} and {{\-s}}) by removing the deprecated flag
> {{\-s}} for {{scrape-interval}} in 10.0.
> _{{solr-update-url}} option_
> The {{solr-update-url}} ({{\-\-solr-update-url}} and {{\-url}}) can be
> deprecated (9x) and replaced (10.0) with {{solr-url}} (new) and
> {{collection-name}} (already exists). In the current logic
> {{solr-update-url}} and {{collection-name}} are mutually exclusive and
> achieve the same result. If it is neccessary to provide a handler (like it is
> done with {{collection-name}} by extending {{/update}} to the URL}}, an
> additional option may be introduced called {{handler}} ({{\-\-handler}}) that
> supports the customization of the URL path suffx that determines the chosen
> handler.
> _{{solr-collection-url}} option_
> The {{solr-collection-url}} is the concatenation of the options {{solr-url}}
> ({{\-\-solr-url}} and {{\-s}}) and {{collection-name}} ({{\-\-name}} and
> {{\-c}}), which are already used in various tools. For this reason, we should
> deprecate (9.8) and remove (10.0) {{solr-collection-url}} by replacing it
> with {{solr-url}} and {{collection-name}}. Note that {{solr-collection-url}}
> and the combination of {{solr-url}} with {{collection-name}} are required
> options.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]