Merge changes Iac79af54,Ief41eccc,Iae52ade9,I0bd9eabb,I2ef5b9e1
* changes: Solr index requires SolrCloud rather than plain Solr Handle exceptions during reindexing InitIndex: Allow user to configure the Solr index URL Solr index URL should be configured under the main "index" section Improve information message about rebuilding the index
This commit is contained in:
@@ -103,9 +103,9 @@ class SolrChangeIndex implements ChangeIndex, LifecycleListener {
|
||||
this.indexes = indexes;
|
||||
this.schema = schema;
|
||||
|
||||
String url = cfg.getString("index", "solr", "url");
|
||||
String url = cfg.getString("index", null, "url");
|
||||
if (Strings.isNullOrEmpty(url)) {
|
||||
throw new IllegalStateException("index.solr.url must be supplied");
|
||||
throw new IllegalStateException("index.url must be supplied");
|
||||
}
|
||||
|
||||
// Version is only used to determine the list of stop words used by the
|
||||
|
||||
Reference in New Issue
Block a user