Search Content Sources best practices report by SPDocKit determines whether Content Source Start Addresses are all in the default zone.

Search Content Sources

Issue description

This check determines whether Content Source Start Addresses are all in the default zone. Otherwise, the search functionality may be limited.

Explanation

Content Source Start Address must be in the default zone of a web application. If it is in any other zone, the contextual scopes (‘This Site’ and ‘This List’) will not work.

When you crawl the default zone of a SharePoint web application, the query processor automatically maps and returns search result URLs that are relative to the alternate access mapping (AAM) zone from which the queries are performed. This allows users to readily view and open search results. However, if you crawl a web application zone other than the default zone, the query processor does not map search result URLs that are relative to the AAM zone from which the queries are performed. Instead, search result URLS will be relative to the non-default zone that was crawled. Therefore, users might not readily be able to view or open search results.

Download SPDocKit

Solution

Modify all content sources to include URLs of the default zones of Web applications. To do so, go to Central Administration > Application Management > Manage Service Applications to configure the crawl schedule. On the Manage Service Applications page, select the Search Service Application and click Manage. On the Search Administration page, click Content Sources. Edit the appropriate content source.

Additional information

Additional information can be found in the following article: