The Data Source Crawl Data API can be used to remove the entire crawl history for a data source. Without a crawl history, when a data source is re-crawled, all documents will be treated as "never before seen". This can be useful if field settings have been changed (such as whether the field is stored or not) and a re-crawl of content is required.
API Entry Points
/api/collections/collection/datasources/id/crawldata: Delete the crawl history (persistent crawl data) for a data source.
Delete Crawl History of a Data Source
DELETE /api/collections/collection/datasources/id/crawldata
Input
Path Parameters
| Key | Description |
|---|---|
| collection | The collection name |
| id | the data source ID |
Query Parameters
None
Output
Output Content
None
Response Codes
204: success no content
Examples
Input
curl -X DELETE http://localhost:8888/api/collections/collection1/datasources/3/crawldata
Output
None.