新增、 編輯或刪除 SharePoint Server 中的內容來源Add, edit, or delete a content source in SharePoint Server

摘要:了解如何建立內容來源以指定要編目的內容類型、 排程編目、 起始位址,以及編目優先權。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.

建立 Search service 應用程式之後,名為 「 本機 SharePoint 網站 」 的內容來源自動建立及設定為在編目本機伺服器陣列中的所有 SharePoint Server 網站。您可以建立其他內容來源,指定要編目及系統應如何編目內容的其他內容。建立內容來源後,您可以編輯或刪除任何時候。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.

開始之前Before you begin

在開始進行此作業之前,請先檢閱下列先決條件的相關資訊:Before you begin this operation, review the following information about prerequisites:

  • 建立 Search Service 應用程式Create a Search service application

建立、編輯或刪除內容來源Create, edit, or delete a content source

取得管理內容來源] 頁面To get to the Manage Content Sources page

  1. 確認執行此程序的使用者帳戶是否為 Search Service 應用程式的管理員。Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. 按一下 [SharePoint Server 管理中心網站的 [應用程式管理] 區段中的 [首頁] 頁面上的 [管理服務應用程式]。On the home page of the SharePoint Server Central Administration website, in the Application Management section, click Manage service applications.

  3. 在 [管理服務應用程式] 頁面上,按一下 Search Service 應用程式。On the Manage Service Applications page, click the Search service application.

  4. 按一下 [搜尋管理] 頁面的 [正在編目] 區段的 [內容來源]。On the Search Administration Page, in the Crawling section, click Content Sources.

若要建立內容來源To create a content source

  1. 在 [管理內容來源] 頁面上按一下 [新增內容來源]。On the Manage Content Sources page, click New Content Source.

  2. 在 [新增內容來源] 頁面的 [名稱] 區段的 [名稱] 方塊中輸入新的內容來源的名稱。On the Add Content Source page, in the Name section, in the Name box, type a name for the new content source.

  3. 在 [內容來源類型] 區段中選取您要編目的內容類型。In the Content Source Type section, select the type of content that you want to crawl.

  4. 在 [起始位址] 區段的 [類型的起始位址下 (每行一個) ] 方塊中輸入從中編目程式應開始編目的 Url。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.

  5. 在 [編目設定] 區段中,選取您想要的編目行為。In the Crawl Settings section, select the crawling behavior that you want.

  6. 在 [編目排程] 區段中,若要指定完整編目排程,定義的排程從清單中選取完整編目。完整編目指定的所有內容進行都編目的內容來源,不論是否已變更內容。若要定義完整編目排程,請按一下 [建立排程]。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.

  7. 若要指定累加編目排程,請選取已定義的排程累加編目] 清單中。已變更自上次編目的內容來源的累加編目指定的內容進行編目。若要定義的排程,請按一下 [建立排程]。您可以按一下 [編輯排程變更定義的排程。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.

    注意

    SharePoint Server 網站的類型的內容來源,您可以啟用連續編目。如需詳細資訊,請參閱管理連續編目 SharePoint Server 中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.

  8. 若要設定此內容來源的優先順序的內容來源優先順序] 區段中,在 [優先順序] 清單中選取 [一般] 或 [To set the priority of this content source, in the Content Source Priority section, on the Priority list, select Normal or High.

  9. 按一下 [ OK ]。Click OK.

若要編輯的內容來源To edit a content source

  1. 您可以編輯內容來源,以變更內容編目的排程、編目起始位址、內容來源優先順序或編目名稱。編輯內容來源時不能變更編目設定與內容來源類型。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.

  2. 在 [管理內容來源] 頁面的內容來源] 清單中指向您想要編輯、 按一下出現箭號,然後按一下 [編輯內容來源的名稱。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.

  3. 您想要變更之後,請按一下 [確定]After you make the changes that you want, click OK.

若要刪除的內容來源To delete a content source

  1. 在 [管理內容來源] 頁面的內容來源] 清單中指向您要刪除、 按一下出現箭號,然後按一下 [刪除內容來源的名稱。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.

  2. 按一下[確定]確認您想要刪除此內容來源]。Click OK to confirm that you want to delete this content source.