在 SharePoint Server 中啟用查詢記錄Enable query logging in SharePoint Server

摘要: 了解如何啟用或停用查詢記錄。Summary: Learn how to enable or disable query logging.

SharePoint Server 搜尋會收集使用者在其電腦上選取之使用者搜尋查詢及搜尋結果的相關資訊。SharePoint Server 會利用資訊來增進搜尋結果相關性,以及增進查詢建議。站台集合管理員、租用戶系統管理員及 Search Service 應用程式管理員,也可以根據這些資訊建立報告。查詢記錄預設為啟用,使用此程序可啟用查詢記錄。SharePoint Server search collects information about user search queries and search results that users select on their computers. SharePoint Server uses this information to improve the relevance of search results and to improve query suggestions. Site collection administrators, tenant administrators and administrators of the Search service application can also create reports based on this information. Query logging is enabled by default. Use this procedure to enable or disable query logging.

啟用或停用查詢記錄To enable or disable query logging

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

  2. 在管理中心中,按一下 [應用程式管理]**** 區段的 [管理服務應用程式]*In Central Administration, in the *Application Management section, click Manage service applications.

  3. 在 [管理服務應用程式] 頁面上,按一下您要設定查詢記錄的 Search Service 應用程式。On the Manage Service Applications page, click the Search service application for which you want to configure query logging.

  4. 在 [搜尋管理] 頁面上的 [系統狀態]**** 區段中,找到 [查詢記錄]*On the Search Administration page, in the *System Status section, locate Query logging.

  5. [查詢記錄]**** 狀態顯示為 [關閉]**** [啟用]**** 或 [開啟]**** [停用]*The *Query logging status displays as Off Enable or On Disable.

  6. 查詢記錄預設為 [開啟]*。按一下 [停用]* 以關閉查詢記錄,或按 [啟用]**** 以開啟查詢記錄。By default, query logging is turned On. Click Disable to turn off query logging or click Enable to turn on query logging.

已設定選項,不需要其他動作。如果您之前按過 [停用]*,使用者搜尋查詢及使用者選取的結果將不會記錄下來;如果您按過 [啟用],則將會立刻記錄下來。The option is set and no other actions are necessary. User search queries and user selected results will no longer be logged if you clicked **Disable, or will now be logged if you clicked **Enable*.