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 HenriBiestro: http://wiki.apache.org/solr/MultiCore ------------------------------------------------------------------------------ === 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) @@ -87, +85 @@ http://localhost:8983/solr/admin/multicore?action=STATUS + == CREATE == + + Creates a new core and register it. + If persistence is enabled (persist=true), the configuration for this new core will be saved in 'multicore.xml'. + If a core with the same name exists, while the "new" created core is initalizing, the "old" one will continue to accept requests. Once + it has finished, all new request will go to the "new" core, and the "old" core will be unloaded. + + http://localhost:8983/solr/admin/multicore?action=CREATE&name=coreX&instanceDir=path_to_instance_directory&config=config_file_name.xml&schema=schem_file_name.xml + + Note that config & schema parameters are optional. == LOAD == /!\ '''not implemented yet!''' - This will load a new core from an existing configuration. + This will load a new core from an existing configuration (will be implemented when cores can be described with a lazy-load flag). ?persist=true will save the changes to multicore.xml @@ -103, +111 @@ /!\ '''not implemented yet!''' Remove a core from solr. Existing requests will continue to be processed, but no new - requests will be sent to this core. + requests can be sent to this core. http://localhost:8983/solr/admin/multicore?action=UNLOAD&core=core0 @@ -111, +119 @@ == RELOAD == Load a new core from the same configuration as an existing registered core. While the - "new" core is initalizing, the "old" one will continue to accept requsts. Once + "new" core is initalizing, the "old" one will continue to accept requests. Once it has finished, all new request will go to the "new" core, and the "old" core will - be removed. + be unloaded. http://localhost:8983/solr/admin/multicore?action=RELOAD&core=core0
