You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Crawdaddy (JIRA)" <ji...@apache.org> on 2015/06/26 22:41:04 UTC
[jira] [Created] (SOLR-7727) bin/solr script incorrectly requires
solr.xml in $SOLR_HOME
Crawdaddy created SOLR-7727:
-------------------------------
Summary: bin/solr script incorrectly requires solr.xml in $SOLR_HOME
Key: SOLR-7727
URL: https://issues.apache.org/jira/browse/SOLR-7727
Project: Solr
Issue Type: Bug
Components: scripts and tools
Affects Versions: 5.2.1
Reporter: Crawdaddy
The bin/solr script currently requires solr.xml to exist in $SOLR_HOME, going against SOLR-4718 which allows it to be hosted in Zookeeper.
Line 1219:
if [ ! -e "$SOLR_HOME/solr.xml" ]; then
echo -e "\nSolr home directory $SOLR_HOME must contain a solr.xml file!\n"
exit 1
fi
Commenting this out, and specifying the following in one's solr.in.sh, allows solr.xml to once again be hosted in ZK:
SOLR_OPTS="$SOLR_OPTS -Dsolr.solrxml.location=zookeeper"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org