mirror of https://github.com/apache/lucene.git
SOLR-720 -- Write container properties before <cores> element rather than after it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@688411 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8d1ae0a3d0
commit
2f9694f07b
|
@ -585,15 +585,16 @@ public class CoreContainer
|
||||||
writer.write("false'");
|
writer.write("false'");
|
||||||
}
|
}
|
||||||
writer.write(">\n");
|
writer.write(">\n");
|
||||||
writer.write("<cores adminPath='");
|
|
||||||
XML.escapeAttributeValue(adminPath, writer);
|
|
||||||
writer.write('\'');
|
|
||||||
writer.write(">\n");
|
|
||||||
|
|
||||||
if (containerProperties != null && !containerProperties.isEmpty()) {
|
if (containerProperties != null && !containerProperties.isEmpty()) {
|
||||||
writeProperties(writer, containerProperties);
|
writeProperties(writer, containerProperties);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
writer.write("<cores adminPath='");
|
||||||
|
XML.escapeAttributeValue(adminPath, writer);
|
||||||
|
writer.write('\'');
|
||||||
|
writer.write(">\n");
|
||||||
|
|
||||||
Map<SolrCore, LinkedList<String>> aliases = new HashMap<SolrCore,LinkedList<String>>();
|
Map<SolrCore, LinkedList<String>> aliases = new HashMap<SolrCore,LinkedList<String>>();
|
||||||
|
|
||||||
synchronized(cores) {
|
synchronized(cores) {
|
||||||
|
|
Loading…
Reference in New Issue