Solr creates collection through url

http://localhost:8983/solr/admin/collections?action=CREATE&name=collection

 

 

action=DELETE is to delete

action=RELOAD is to reload

 

 

create core

 

http://localhost:8983/solr/admin/cores?action=create&dataDir=data&config=solrconfig.xml&schema=schema.xml&numShards=1&collection=test_search&collection.configName=test_search&name=test_search&shard=shard1

 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326279243&siteId=291194637