[ 
https://issues.apache.org/jira/browse/SOLR-7102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Potter updated SOLR-7102:
---------------------------------
    Attachment: SOLR-7102.patch

Simple fix to set SOLR_MODE=solrcloud if ZK_HOST is set.

> bin/solr should activate cloud mode if ZK_HOST is set
> -----------------------------------------------------
>
>                 Key: SOLR-7102
>                 URL: https://issues.apache.org/jira/browse/SOLR-7102
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Timothy Potter
>            Assignee: Timothy Potter
>         Attachments: SOLR-7102.patch
>
>
> you have to set SOLR_MODE=solrcloud in the /var/solr/solr.in.sh to get the 
> init.d/solr script to start Solr in cloud mode (since it doesn't pass -c). 
> What should happen is that the bin/solr script should assume cloud mode if 
> ZK_HOST is set.
> This mainly affects the /etc/init.d/solr script because it doesn't pass the 
> -c | -cloud option. If working with bin/solr directly, you can just pass the 
> -c explicitly to get cloud mode.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to