Add, edit, or delete a content source in SharePoint Server
**上一次修改主题:**2017-07-14
Summary: Learn how to create a content source to specify what type of content to crawl, schedules for crawling, start addresses, and crawl priority.
A content source is a set of options that you use to specify what, when, and how to crawl.
When a Search service application is created, a content source named "Local SharePoint sites" is automatically created and configured for crawling all SharePoint Server sites in the local server farm. You can create additional content sources to specify other content to crawl and how the system should crawl that content. After you create a content source, you can edit or delete it at any time.
警告
Changing a content source requires a full crawl for that content source.
In this article:
Before you begin
To create a content source
To edit a content source
To delete a content source
Before you begin
Before you begin this operation, review the following information about prerequisites:
- Create a Search service application
Create, edit, or delete a content source
To get to the Manage Content Sources page
Verify that the user account that is performing this procedure is an administrator for the Search service application.
On the home page of the SharePoint Server 管理中心 website, in the Application Management section, click Manage service applications.
On the Manage Service Applications page, click the Search service application.
On the Search Administration Page, in the Crawling section, click Content Sources.
To create a content source
On the Manage Content Sources page, click New Content Source.
On the Add Content Source page, in the Name section, in the Name box, type a name for the new content source.
In the Content Source Type section, select the type of content that you want to crawl.
In the Start Addresses section, in the Type start addresses below (one per line) box, type the URLs from which the crawler should begin crawling.
In the Crawl Settings section, select the crawling behavior that you want.
In the Crawl Schedules section, to specify a schedule for full crawls, select a defined schedule from the Full Crawl list. A full crawl crawls all content that is specified by the content source, regardless of whether the content has changed. To define a full crawl schedule, click Create schedule.
To specify a schedule for incremental crawls, select a defined schedule from the Incremental Crawl list. An incremental crawl crawls content that is specified by the content source that has changed since the last crawl. To define a schedule, click Create schedule. You can change a defined schedule by clicking Edit schedule.
备注
For a content source that is of type SharePoint Server sites, you can enable continuous crawls. For more information, see Manage continuous crawls in SharePoint Server.
To set the priority of this content source, in the Content Source Priority section, on the Priority list, select Normal or High.
Click OK.
To edit a content source
You can edit a content source to change the schedule on which the content is crawled, the crawl start addresses, the content source priority, or the name of the crawl. Crawl settings and content source type cannot be changed when you edit a content source.
On the Manage Content Sources page, in the list of content sources, point to the name of the content source that you want to edit, click the arrow that appears, and then click Edit.
After you make the changes that you want, click OK.
To delete a content source
On the Manage Content Sources page, in the list of content sources, point to the name of the content source that you want to delete, click the arrow that appears, and then click Delete.
Click OK to confirm that you want to delete this content source.