Set Continuous Crawl Interval

SP2013


Hello everyone,

Today I’ll talk about the configuration of the continuous crawl.

For those who do not know, the continuous crawl is a new feature of SharePoint 2013 that allows you to crawl new content “continuously”.

It is configurable in the “Content Source” where you have to choose between “Enable Continuous Crawls” and “Enable Incremental Crawls“.

Be honest, this is not true continuous but is not far from being. the default job is run every 15 minutes. Note that this job will start in parallel, it is not expected the end of the previous job to start.

If you want to change this interval, you must go through the following PowerShell command (replacing 1 by the desired number of minutes)

Add-PSSnapin Microsoft.SharePoint.Powershell -ErrorAction SilentlyContinue

$ssa = Get-SPEnterpriseSearchServiceApplication

$ssa.GetProperty(“ContinuousCrawlInterval”)

$ssa.SetProperty(“ContinuousCrawlInterval”,1)

$ssa.GetProperty(“ContinuousCrawlInterval”)

 

Note: “GetProperty” are not necessary, they will allow you to view the current value before and after modification.

Attention: Please note however, the crawl takes resources and could have an impact on your performance (in case of very large volume of data). Use with caution!

 

Hope this helps!

Christopher

Advertisements
This entry was posted in SharePoint 2013 and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s