重設 SharePoint Server 中的搜尋索引Reset the search index in SharePoint Server

摘要:了解如何重設 SharePoint Server 搜尋索引。Summary: Learn how to reset the SharePoint Server search index.

重設搜尋索引中 SharePoint Server、 時的所有內容會立即從搜尋索引都移除與使用者將無法擷取搜尋結果。重設搜尋索引之後,您必須執行完整編目的一或多個內容來源,以建立新的搜尋索引。使用者無法完成完整編目並建立新的搜尋索引時重新擷取搜尋結果。When you reset the search index in SharePoint Server, all content is immediately removed from the search index and users will not be able to retrieve search results. After you reset the search index, you must perform a full crawl of one or more content sources to create a new search index. Users will be able to retrieve search results again when the full crawl is finished and the new search index is created.

注意

重設搜尋索引之後,完整的編目不會還原所有由 「 分析處理元件所提供的分析功能。分析功能的範例會引發或降級基礎的搜尋結果中的項目上的搜尋結果使用者已按下,或顯示次數自訂的搜尋結果有已檢視。如需詳細資訊,請參閱 < Overview of analytics processing in SharePoint ServerAfter a search index reset, a full crawl won't restore all analytics features that are powered by the Analytics Processing Component. Examples of analytics features are raising or demoting items in search results based on which search results users have clicked, or displaying the number of times a search result has been viewed. For more information, see Overview of analytics processing in SharePoint Server.

如果可以的話,您應該執行備份與還原 Search service 應用程式,而不是搜尋索引重設。這些程序會完全還原所有由 「 分析處理元件所提供的功能。如需詳細資訊,請參閱 < Back up in SharePoint Server 搜尋服務應用程式與[SharePoint Server 中的 還原 Search service 應用程式If you can, you should perform a backup and restore of your Search service application instead of a search index reset. These procedures will fully restore all features that are powered by the Analytics Processing Component. For more information, see Back up Search service applications in SharePoint Server and Restore Search service applications in SharePoint Server.

注意

如果您的 SharePoint環境是混合式並使用雲端混合搜尋,您可以將內部部署內容的索引編輯至 Office 365 中的搜尋索引。請參閱<深入了解 SharePoint 的雲端混合搜尋>,以取得從 Office 365 搜尋方塊刪除內部部署項目中繼資料的指南。If your SharePoint environment is hybrid and uses cloud hybrid search, you index your on-premises content in your search index in Office 365. See Learn about cloud hybrid search for SharePoint for guidance on deleting metadata of on-premises items from the search index in Office 365.

開始之前Before you begin

請確定您不執行 Search service 應用程式的備份。Make sure that you are not running a backup of the Search service application.

重設搜尋索引Reset the search index

使用下列程序重設搜尋索引。Use the following procedure to reset the search index.

若要重設搜尋索引To reset the search index

  1. 確認執行此程序的使用者帳戶是要重設其搜尋索引之 Search Service 應用程式的系統管理員。Verify that the user account that is performing this procedure is an administrator for the Search service application for which you want to reset the search index.

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

  3. 在 [管理搜尋應用程式] 頁面上,按一下您要重設其搜尋索引的 Search Service 應用程式。On the Manage Search Applications page, click the Search service application for which you want to reset the search index.

  4. 在 [搜尋管理] 頁面上的 [系統狀態] 下確認 Search service 應用程式的系統管理狀態執行PausedOn the Search Administration page, under System Status, verify that the Administrative status of the Search service application is Running and not Paused.

  5. 按一下 [搜尋管理] 頁面上的 [正在編目] 區段中的 [索引重設]。On the Search Administration page, in the Crawling section, click Index Reset.

  6. 在 [索引重設] 頁面上,確認重設時停用搜尋提醒] 核取方塊會檢查,然後按一下 [立即重設]On the Index Reset page, verify that the Deactivate search alerts during reset check box is checked, and then click Reset Now.

  7. 在出現的 [確認] 對話方塊中按一下[確定]確認您要重設索引。In the confirmation dialog box that appears, click OK to confirm that you want to reset the index.

    [搜尋管理] 頁面隨即開啟,並顯示 [系統狀態]。The Search Administration page opens and the System Status is displayed.

搜尋索引重設已完成之後,您必須執行您想要包含在搜尋索引中的所有內容來源的完整編目。如需詳細資訊,請參閱新增、 編輯或刪除 SharePoint 2013 Preview 中的內容來源。使用者無法擷取直到您建立新的搜尋索引的搜尋結果。完成完整編目,且已建立新的搜尋索引之後,您必須也重新啟用搜尋提醒。請參閱< Enable search alertsAfter the search index reset is complete, you must perform a full crawl of all the content sources that you want to include in the search index. For more information, see Add, edit, or delete a content source in SharePoint 2013 Preview. Users will not be able to retrieve search results until you create a new search index. After the full crawl has completed and a new search index has been created, you must also re-enable search alerts. See Enable search alerts.