创建core
http://localhost:8983/solr/admin/cores?action=CREATE
&name=golife
&instanceDir=
&dataDir=
&config=
http://localhost:8983/solr/admin/cores?action=CREATE
&name=golife
&instanceDir=
&dataDir=
&config=
&schema=
刷新core
http://localhost:8983/solr/admin/cores?action=RELOAD&core=golife
重命名core
http://localhost:8983/solr/admin/cores?action=RENAME&core=golife&other=new_name
交换core
http://localhost:8983/solr/admin/cores?action=SWAP&core=core1&other=core0
删除core
http://localhost:8983/solr/admin/cores?action=UNLOAD&core=core0&deleteIndex=true
附加参数:
deleteDataDir 删除data和data下的子目录
deleteInstanceDir deleteIndex和deleteDataDir命令加在一起的效果
获取指定core的状态
http://localhost:8983/solr/admin/cores?action=STATUS&core=core0