API - Resume the Web Crawler

Documentation > API-Web Crawler > API - Resume the Web Crawler

Resume the Web Crawler

Resumes a paused web crawler immediately, without waiting for the next cron tick. This uses the same start_crawl endpoint with clean=no to continue from where it left off.

  1. GET https://opensolr.com/solr_manager/api/start_crawl
  2. Parameters:
    1. email - (required) your opensolr registration email address
    2. api_key - (required) your opensolr api_key
    3. core_name - (required) the name of the index you wish to resume crawling for
    4. clean - set to no (to resume from where the crawler left off, not start fresh)
  3. Example: https://opensolr.com/solr_manager/api/start_crawl?email=PLEASE_LOG_IN&
    api_key=PLEASE_LOG_IN&core_name=my_solr_core&clean=no

Note: If the crawler has finished processing all URLs in its queue (todo is empty), resuming will have no effect. Check the crawler stats first using the Get LIVE Web Crawler Stats API to see if there are remaining pages to crawl.