lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "Core Discovery (4.4 and beyond)" by ShawnHeisey
Date Tue, 21 May 2013 17:55:07 GMT
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=11&rev2=12

Comment:
removed a word.

  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 from both formats, errors are thrown.  For example,
if you have an old-style solr.xml and you include of the str or int tags from the new format,
Solr will not start up properly and an error will be logged.
+  * In either case, if patterns are detected from both formats, errors are thrown.  For example,
if you have an old-style solr.xml and you include the str or int tags from the new format,
Solr will not start up properly and an error will be logged.
  
  == Format for new-style solr.xml ==
  The solr.xml file has a new format, here is a sample. NUMBERS MADE UP FOR NOW!

Mime
View raw message