11.05.2016 Views

Apache Solr Reference Guide Covering Apache Solr 6.0

21SiXmO

21SiXmO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Input: Clearing up all the stored statuses<br />

http://localhost:8983/solr/admin/collections?action=REQUESTSTATUS&requestid=-1<br />

Delete Status<br />

/admin/collections?action=DELETESTATUS&requestid=request-id<br />

Delete the stored response of an already failed or completed Asynchronous Collection API call.<br />

Input<br />

Query Parameters<br />

Key Type Required Description<br />

requestid string No The request-id of the async call we need to clear the stored response for.<br />

flush boolean No Set to true to clear all stored completed and failed async request responses.<br />

Examples<br />

Input: Valid Request Status<br />

http://localhost:8983/solr/admin/collections?action=DELETESTATUS&requestid=foo<br />

Output<br />

<br />

<br />

0<br />

1<br />

<br />

successfully removed stored response for [foo]<br />

<br />

Input: Invalid RequestId<br />

http://localhost:8983/solr/admin/collections?action=DELETESTATUS&requestid=bar<br />

Output<br />

<br />

<br />

0<br />

1<br />

<br />

[bar] not found in stored responses<br />

<br />

Input: Clearing up all the stored statuses<br />

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

590

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

Saved successfully!

Ooh no, something went wrong!