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

Ishan Chattopadhyaya commented on SOLR-7545:
--------------------------------------------

The point of this patch is just to remove the hardcoded localhost to the one 
provided in SOLR_HOST, or else default to localhost. But this is only for 
connecting to a running solr instance (by use of another variable, HOSTNAME). 
While starting up solr, the previous behaviour is retained, i.e. use SOLR_HOST 
if specified but default to IP address based lookup if not specified (by use of 
-Dhost= param).

> SOLR_HOST parameter not honoured in bin/solr and SolrCLI
> --------------------------------------------------------
>
>                 Key: SOLR-7545
>                 URL: https://issues.apache.org/jira/browse/SOLR-7545
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Ishan Chattopadhyaya
>         Attachments: SOLR-7545.patch, SOLR-7545.patch, SOLR-7545.patch, 
> SOLR-7545.patch
>
>
> It seems there are a few places in bin/solr (and maybe SolrCLI class?) where 
> localhost is hardcoded, and hence the SOLR_HOST parameter isn't taking 
> effect. Will add a patch to fix this shortly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to