You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2013/05/21 19:50:58 UTC

[Solr Wiki] Trivial Update of "Core Discovery (4.4 and beyond)" by ShawnHeisey

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "Core Discovery (4.4 and beyond)" page has been changed by ShawnHeisey:
http://wiki.apache.org/solr/Core%20Discovery%20%284.4%20and%20beyond%29?action=diff&rev1=9&rev2=10

Comment:
slightly improved statement about errors being thrown if both formats detected.

  Cores are no longer necessarily defined in in solr.xml. For the near term, solr.xml can exist either in the new or old styles. Whether solr.xml is interpreted as new or old-style is triggered by the absence or presence of a <cores> tag.
   * If there is a <cores> element, it is assumed to be an old-style solr.xml. 
   * If there is ''not'' a <cores> tag, then this is assumed to be a new-style solr.xml file and the cores are enumerated from SOLR_HOME (i.e. auto discovery).
-  * In either case, if patterns are detected (say "coreLoadThreads" is found as an attribute in the <solr> tag in a new-style solr.xml file), errors are thrown.
+  * In either case, if patterns are detected from both formats (say "coreLoadThreads" is found as an attribute in the <solr> tag in a new-style solr.xml file), errors are thrown.
  
  == Format for new-style solr.xml ==
  The solr.xml file has a new format, here is a sample. NUMBERS MADE UP FOR NOW!