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 17:04:38 UTC

[Solr Wiki] Update of "Core Discovery (4.3 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.3 and beyond)" page has been changed by ShawnHeisey:
http://wiki.apache.org/solr/Core%20Discovery%20%284.3%20and%20beyond%29?action=diff&rev1=5&rev2=6

Comment:
minor reorg.

  ## page was renamed from Core Discovery (4.2 and beyond)
  = Discovery-based core enumeration =
- <!> Solr4.3
+ <!> [[Solr4.4]] - there's a new way of defining cores.
  
- <!> Core discovery was introduced in 4.3.0, but it is fundamentally broken.  Even the 4.3.1 release doesn't fix the bugs.  Using the [[Solr.xml (supported through 4.x)|old style solr.xml]] is recommended until Solr4.4 is released.  If you want to experiment with it now, download the source code or a nightly build for branch_4x.
+ <!> Core discovery was introduced in 4.3.0 by SOLR-4196, but it is fundamentally broken and not fixed until 4.4.  Using the [[Solr.xml (supported through 4.x)|old style solr.xml]] is recommended until Solr4.4 is released.  If you want to experiment with it now, download the source code or a nightly build for branch_4x.
  
  TODO: Lots to flesh out here, this is just barely a start for the docs, consider it a placeholder that will be expanded as time permits. Please ask any questions that come up on the user's list or whatever, and we'll expand this page. Or edit it yourself, all help appreciated!
  
- As of SOLR-4196, there's a new way of defining cores. Essentially, it is no longer necessary to define cores in solr.xml. In fact, solr.xml is no longer necessary at all and will be obsoleted in Solr 5.x. As of Solr 4.3 the process is as follows:
+ Essentially, cores are no longer defined in in solr.xml. In fact, solr.xml is no longer necessary at all and will be obsoleted in Solr 5.x. As of Solr 4.3 the process is as follows:
   * If a solr.xml file is found in <SOLR_HOME>, then it is expected to be the old-style solr.xml that defines cores etc.
   * If there is no solr.xml but there ''is'' a solr.properties file, then exploration-based core enumeration is assumed.
   * If neither a solr.xml nor an solr.properties file is found, a default solr.xml file is assumed. NOTE: as of 5.0, this will not be true and an error will be thrown if no solr.properties file is found.