Targeting the Search Crawler to a Specific Server

In many medium to large SharePoint deployments, search is a critical piece of the farm architecture. An underperforming search instance can lead to severe discoverability issues as well as potentially missing critical business information. SharePoint Administrators can improve search crawl performance by dedicating a SharePoint server as a crawl target for one or more Web Applications. By creating this target, the SharePoint Administrator can greatly reduce the load on SharePoint servers that users interact with and potentially reduce crawl times.  Much of the advise on how to target a crawler is around editing a servers host file to point the DNS entry of a Web Application at a specific server. A hosts file entry was not how Microsoft intend a crawl target to be set up! Microsoft created a new property with SharePoint 2010 named SiteDataServers. It allows an Administrator to target crawls at one or more SharePoint servers on a Web Application and Web Application Zone basis.

In the SharePoint 2007 days, it was possible to target a specific server for crawling via Central Administration; in SharePoint 2010 and 2013, PowerShell must be used. In this example farm, there are three SharePoint servers:




SPWFE and SPCRW both run the Microsoft SharePoint Foundation Web service, but only SPWFE has DNS records pointed at it, and is the only server directly used by users. In the farm there is a Web Application of with a Default Zone.

To target the crawler on SPSRC at SPCRW for, run the following PowerShell commands in the SharePoint Management Shell:

Since a dedicated crawl target has been specified, it is likely that removing the HTTP throttling can be disabled. This can be done on the crawl target via PowerShell:

To remove a crawl target, simply run:

From now on, there should be no reason to edit a host file on a SharePoint search server in order to crawl a specific crawl target! This process can be done on a per-Web Application Zone basis.  An Administrator can also specify multiple crawl targets, even per Zone!


  1. I’ve heard that crawling the crawl server is not recommended (i.e. Adding WFE role to Crawl server and having Crawl server crawl itself). Would you comment on this?

  2. Thanks Trevor. I had the same question as Derek. Do you see any issues with setting the crawl target on the same server that runs the search crawl component ? Also, do you know if this same technique works with host named site collections ?

  3. Got some feedback to the questions in the previous comments from Todd Klindt and Trevor on Twitter: . It looks like it works for all host named site collections in a web app, since SiteDataServers is updated at the web app level. And sounds like setting crawl target on the same server that runs search crawl component in SharePoint 2013 should work fine.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.