You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2012/10/24 16:51:49 UTC
[Solr Wiki] Update of "CoreAdmin" by ErickErickson
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "CoreAdmin" page has been changed by ErickErickson:
http://wiki.apache.org/solr/CoreAdmin?action=diff&rev1=40&rev2=41
http://localhost:8983/solr/admin/cores?action=UNLOAD&core=core0&deleteIndex=true
+ <!> [[Solr4.0]] Two more optional parameters are "deleteDataDir" and "deleteInstanceDir" on core unload.
+ * deleteDataDir removes "data" and all sub-directories
+ * deleteInstanceDir removes ''everything'' related to the core, the index directory, the configuration files, etc. This command would remove the directory core0 and all sub-directories. NOTE: there is a bug in 4.0 [[https://issues.apache.org/jira/browse/SOLR-3984|SOLR-3984]] currently (4.0.0) that prevents this from working unless you specify the absolute path in your <core.../>.
+ {{{
+ http://localhost:8983/solr/admin/cores?action=UNLOAD&core=core0&deleteIndex=true
+ }}}
+
+ These three "delete*" commands form a hierarchy. "deleteInstanceDir" will do what both "deleteDataDir" and "deleteIndex" do. "deleteDataDir" will also "deleteIndexDir". You should only need to specify one.
+
== LOAD ==
/!\ '''not implemented yet! Use CREATE'''