Call the CasCrawler.stopCrawl() method to stop a crawl.

The syntax of the method is:

CasCrawler.stopCrawl(CrawlId crawlId)

The crawlId parameter is a CrawlId object that contains the name of the crawl to stop.

To stop a crawl:

The CasCrawler.stopCrawl() method throws a CrawlNotFoundException if the specified crawl (the crawlId parameter) does not exist or is otherwise not found.

When the stop request is issued, the crawl first goes into a STOPPING state and then (when it finally stops) into a NOT_RUNNING state.


Copyright © Legal Notices