Friday, 8 April 2016

Scheduling Search Crawl in SharePoint

If you want to configure Full/Incremental/Continuous search crawl, follow below steps:

  • On the Configure Search Settings page, in the Crawl Settings section, click Content sources and crawl schedules.
  • On the Manage Content Sources page, right click the content source for which you want to schedule an incremental crawl and then click Edit.
  • On the Edit Content Source page, in the Crawl Schedules section, do the following:

Incremental/Full crawl setup:

  • If an Incremental/Full crawl has never been created for this content source, click the Create schedule link below the Incremental/Full Crawl list.    -or-
  • If you are changing the Incremental/Full-crawl schedule, click the Edit schedule link below the Incremental Crawl list.
  • In the Manage Schedules dialog box, in the Type section, select Daily, Weekly, or Monthly.
  • In the Settings section, do the following:


  1. In the Run every box, type the number of days between crawls. For example, to schedule an incremental crawl to start every other day, type 2.
  2. In the Starting time list, select the time of the day from which to start the scheduled crawl.
  3. If you want to crawl more frequently than once a day, select the Repeat within the day box and type the number of minutes to wait between crawls in the Every box and type the total number of minutes in which to repeat the crawl within the same day in the For box. For example, if you select Repeat within the day and type 60 in the Every box and 720 in the For box, an incremental crawl of the content source you are configuring starts every 60 minutes up to 720 minutes (12 hours) after the first scheduled incremental crawl for this content source ran.
  4. Click OK.


  • Click OK in  Content Source page.

Continuous crawl setup:

  • Select the continuous crawl radio button in Crawl Schedule Section.
  • Click OK in  Content Source page.

Unlike an incremental crawl, which starts at a particular time and repeats regularly at specified times after that, a continuous crawl automatically starts at predefined time intervals. The default interval for continuous crawls is every 15 minutes.

To Change the Continuous crawl time do the following steps:

Prerequisite:

  • Verify that the user account that is performing this procedure is a member of the Farm Administrators group.

Steps:


  • Start a SharePoint 2013 Management Shell.
  • At the Windows PowerShell command prompt, type the following commands:

        $ssa = Get-SPEnterpriseSearchServiceApplication

        $ssa.SetProperty("ContinuousCrawlInterval",n)

        Where: n is the regular interval in minutes at which you want to continuous crawls to start. The default interval is every 15 minutes. The shortest interval that you can set is 1 minute.

Note:

If you reduce the interval, you increase the load on SharePoint and the crawler. Make sure that you plan and scale out for this increased consumption of resources accordingly.

Source:

    https://technet.microsoft.com/en-in/library/cc263373%28v=office.12%29.aspx
    https://technet.microsoft.com/en-us/library/jj219802.aspx

No comments:

Post a comment