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 ------------------------------------------------------------------------------ </multicore> }}} + == multicore == The <multicore tag accepts three attributes: - == adminPath == + === 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 == + === 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 == + === 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) + + == core == + + Each core can specify the following attributes: + + === name === + The registered core name. This will be how the core is accessed. '''(required)''' + + === instanceDir === + The ''solr.home'' directory for a given core. '''(required)''' + + === dataDir === + The data directory for a given core. '''(optional)''' + + === default === + A single core '''must''' declare default="true" = Example =
