[
https://issues.apache.org/jira/browse/SOLR-16941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757530#comment-17757530
]
ASF subversion and git services commented on SOLR-16941:
--------------------------------------------------------
Commit 1dde8a90c3c81417f84529401de1dfc582901705 in solr's branch
refs/heads/branch_9x from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=1dde8a90c3c ]
SOLR-16941: Use smarter default Solr URL in CLI (#1849)
(cherry picked from commit 7f2f6dc6f2d38cde3211a89f8859add791d74060)
> Improve Solr Host defaulting in the SolrCLI
> -------------------------------------------
>
> Key: SOLR-16941
> URL: https://issues.apache.org/jira/browse/SOLR-16941
> Project: Solr
> Issue Type: Sub-task
> Components: SolrCLI
> Reporter: Houston Putman
> Priority: Major
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> There are a number of Solr CLI commands that will use a default Solr URL if
> none is provided, such as {{{}solr create{}}}, {{{}solr delete{}}}, {{{}solr
> config{}}}, etc.
> Currently it defaults to "http://localhost:8983", however we can do better by
> looking at the SOLR_SCHEME, SOLR_TOOLS_HOST and SOLT_PORT envVars, that the
> script provides us. This allows users to set their env vars, and just use
> these commands to interact with the solr instance that was setup, without
> having to manually set a URL.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]