11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

emoval of the alias, you can look in the <strong>Solr</strong> Admin UI, under the Cloud section, and find the aliases.json file<br />

.<br />

Examples<br />

Input<br />

Remove the alias named "testalias".<br />

http://localhost:8983/solr/admin/collections?action=DELETEALIAS&name=testalias<br />

Output<br />

<br />

<br />

0<br />

117<br />

<br />

<br />

Delete a Collection<br />

/admin/collections?action=DELETE&name=collection<br />

Input<br />

Query Parameters<br />

Key Type Required Description<br />

name string Yes The name of the collection to delete.<br />

async string No Request ID to track this action which will be processed asynchronously.<br />

Output<br />

Output Content<br />

The response will include the status of the request and the cores that were deleted. If the status is anything other<br />

than "success", an error message will explain why the request failed.<br />

Examples<br />

Input<br />

Delete the collection named "newCollection".<br />

http://localhost:8983/solr/admin/collections?action=DELETE&name=newCollection<br />

Output<br />

<strong>Apache</strong> <strong>Solr</strong> <strong>Reference</strong> <strong>Guide</strong> <strong>6.0</strong><br />

576

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!