You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Houston Putman (Jira)" <ji...@apache.org> on 2023/08/17 18:53:00 UTC

[jira] [Created] (SOLR-16941) Improve Solr Host defaulting in the SolrCLI

Houston Putman created SOLR-16941:
-------------------------------------

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


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