在 SharePoint Server 中管理搜尋中心Manage the Search Center in SharePoint Server

摘要: 了解在 SharePoint Server 2016 和 SharePoint Server 2013 的搜尋中心網站建立的頁面,以及查看有關如何設定網頁組件的文章。Summary: Learn about pages that are created in a Search Center site in SharePoint Server 2016 and SharePoint Server 2013, and see articles about how to configure Web Parts.

當您如<Create a Search Center site in SharePoint Server>中所述建立企業搜尋中心網站集合時,SharePoint Server 會建立預設搜尋首頁和預設搜尋結果頁面。此外,也會建立數個稱為「搜尋類別」的頁面。搜尋類別可自訂為搜尋特定內容 (例如 [人員]、[交談] 及 [視訊]),然後顯示篩選後的搜尋結果,並格式化為特定內容類型或類別。When you create an Enterprise Search Center site collection as described in Create a Search Center site in SharePoint Server, SharePoint Server creates a default search home page and a default search results page. In addition, several pages known as search verticals are also created. Search verticals are customized for searching specific content, such as People, Conversations, and Videos, and they display search results that are filtered and formatted for a specific content type or class.

以下是在企業搜尋中心網站集合中建立的頁面:The following pages are created in an Enterprise Search Center site collection:

  • default.aspx: 搜尋中心的首頁,也是使用者輸入查詢的頁面。default.aspx: the home page for the Search Center, and the page where end-users enter their queries.

  • results.aspx: 搜尋中心的預設搜尋結果頁面,也是 [所有項目]**** 搜尋類別的搜尋結果頁面。results.aspx: the default search results page for the Search Center. It is also the search results page for the Everything search vertical.

  • peopleresults.aspx:[人員]**** 搜尋類別的搜尋結果頁面。peopleresults.aspx: the search results page for the People search vertical.

  • conversationresults.aspx:[交談]**** 搜尋類別的搜尋結果頁面。conversationresults.aspx: the search results page for the Conversations search vertical.

  • videoresults.aspx:[視訊]**** 搜尋類別的搜尋結果頁面。videoresults.aspx: the search results page for the Videos search vertical.

  • advanced.aspx: 使用者可將一些限制套用至其搜尋字詞的搜尋頁面;例如,將搜尋限制在精確對應字詞。advanced.aspx: the search page where end-users can apply some restrictions to their search phrases — for example, limiting the search to an exact phrase.

這些頁面位於 [頁面]**** 庫中,其包含可自訂以改善使用者搜尋體驗的網頁組件。本文說明這些頁面上的網頁組件,以及如何設定不同的網頁組件設定以改善搜尋結果的顯示方式。These pages are located in the Pages library, and they contain Web Parts that you can customize to improve the end-user search experience. This article describes the Web Parts on these pages, and how you can configure the different Web Parts settings to improve how search results are displayed.

搜尋類別頁面 (results.aspx、peopleresults.aspx、conversationresults.aspx、videoresults.aspx、advanced.aspx) 上的網頁組件預設皆相同,但會針對每個搜尋類別頁面,以不同的方式來設定 [搜尋結果網頁組件]**** 中的查詢。針對每個搜尋類別頁面,將 [搜尋結果網頁組件]**** 中的查詢導向至特定結果來源,可能是定義搜尋類別的結果來源,或是建立自訂搜尋類別時要導向查詢的任何結果來源。例如,若是 peopleresults.aspx 搜尋類別頁面,[搜尋結果網頁組件]**** 中的查詢會限制在 [本機人員結果 (系統)]**** 結果來源。若是 videoresults.aspx 搜尋類別頁面,[搜尋結果網頁組件]**** 中的查詢會限制在 [本機視訊結果 (系統)]*By default, the Web Parts on the search vertical pages (results.aspx, peopleresults.aspx, conversationresults.aspx, videoresults.aspx, advanced.aspx) are the same. However the query in the *Search Results Web Part is configured differently for each search vertical page. For each search vertical page, the query in the Search Results Web Part is directed to a particular result source. This can be a result source that defines the search vertical or any result source that you want to direct queries to when you create a custom search vertical. For example, for the peopleresults.aspx search vertical page, the query in the Search Results Web Part is limited to the Local People Results (System) result source. For the videoresults.aspx search vertical page, the query in the Search Results Web Part is limited to the Local Video Results (System).

下列文章說明如何設定企業搜尋中心網站中所使用之每個網頁組件的內容:The following articles describe how to configure properties for each Web Part that is used in the Enterprise Search Center site: