Dear Wiki user,

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

The following page has been changed by ryan:
http://wiki.apache.org/solr/MultiCore

------------------------------------------------------------------------------
  = Configuration =
  
  To enable multi core support, place a file named ''multicore.xml'' in the 
solr.home 
- directory.  The example application ships with multicore configs, but you 
will 
- need to edit 
+ directory.  Here is an example ''multicore.xml'' file:
+ {{{
+ <multicore adminPath="/admin/multicore" persistent="true" sharedLib="lib">
+  <core name="core0" instanceDir="core0" default="true"/>
+  <core name="core1" instanceDir="core1" />
+ </multicore>
+ }}}
+ 
+ The <multicore tag accepts three attributes:
+ == adminPath ==
+ RequestHandler path to access the !MultiCoreHandler for dynamic core 
manipulation.  Foe example, adminPath="/admin/multicore" configures access via 
http://localhost:8983/solr/admin/multicore.  If this attribute is not 
specified, dynamic manipulation is unavailable.
+ 
+ == persistent ==
+ By default, should runtime core manipulation be saved in ''multicore.xml'' so 
that it is available after a restart.
+ 
+ /!\ NOTE: persistance is not implemented yet.
+ 
+ == sharedLib ==
+ Path to a directory containing .jar files that are added to the classpath of 
every core.  The path is relative to solr.home (where multicore.xml sits)
+ 
  
  = Example =
  
@@ -36, +54 @@

  
  = MultiCoreHandler =
  
- The MultiCoreHandler is a special SolrRequestHandler that is used to manage 
existing cores.
+ The !MultiCoreHandler is a special SolrRequestHandler that is used to manage 
existing cores.
  Unlike normal !SolrRequestHandlers, the !MultiCoreHandler is not attached to 
a core,
  it is configured in multicore.xml.  A single MultiCoreHandler exists for each 
web-app
  
  To enable dynamic core configuration, make sure the ''adminPath'' attribute 
is set in
- multicore.xml.  If this attribute is absent, the !MultiCoreHandler will not 
be avaliable.
+ multicore.xml.  If this attribute is absent, the !MultiCoreHandler will not 
be available.
  
  
  == STATUS ==

Reply via email to