在 SharePoint Server 中設定搜尋結果網頁組件的屬性Configure properties of the Search Results Web Part in SharePoint Server

摘要: 了解如何設定查詢和搜尋結果網頁組件的屬性,以及如何在網頁組件中停用相關字詞功能。Summary: Learn how to configure the query and properties of the Search Results Web Part, and how to disable stemming in the Web Part.

搜尋結果網頁組件會顯示在搜尋方塊網頁組件中輸入之查詢的搜尋結果。根據預設,搜尋結果網頁組件使用於所有的搜尋類別頁面 (results.aspx、peopleresults.aspx、conversationresults.aspx、videoresults.aspx)。搜尋結果網頁組件會顯示實際搜尋結果,而且會將搜尋結果傳遞至相同頁面上的精簡搜尋網頁組件和搜尋導覽網頁組件。The Search Results Web Part displays the search results of a query entered in a Search Box Web Part. By default, the Search Results Web Part is used on all search vertical pages (results.aspx, peopleresults.aspx, conversationresults.aspx, videoresults.aspx). The Search Results Web Part displays the actual search results and it also passes the search results to the Refinement Web Part and the Search Navigation Web Part on the same page.

搜尋結果網頁組件會使用在網頁組件中指定的查詢來顯示搜尋結果。在此網頁組件中定義的查詢預設會使用查詢變數 {searchboxquery}。此查詢變數是一個值的預留位置。 執行查詢時,此預留位置會由一個值所取代。例如,當使用者在搜尋方塊網頁組件中輸入搜尋字詞 yellow 時,搜尋結果網頁組件中的 {searchboxquery} 變數會決定搜尋含有字詞 yellow 的所有項目。The Search Results Web Part uses a query that is specified in the Web Part to display search results. By default, the query defined in this Web Part uses the query variable {searchboxquery}. The query variable is a placeholder for a value. When a query is run, the placeholder is replaced with a value. For example, when a user types the search phrase yellow in the Search Box Web Part, the {searchboxquery} variable in the Search Results Web Part will resolve to search all items that contain the phrase yellow .

在搜尋結果網頁組件中變更屬性和查詢,您可以執行下列動作:By changing the properties and query in the Search Results Web Part you can you can do the following:

  • 將搜尋結果限制為結果來源。Limit search results to a result source.

  • 新增查詢變數或屬性篩選,以便為不同的使用者自訂搜尋結果。Add query variables or property filters that customize search results for different users.

  • 將搜尋結果內的項目或頁面升級或降級。Promote or demote items or pages within the search results.

  • 變更搜尋結果的排序方式。Change the sorting of the search results.

  • 變更顯示範本。Change the display template.

開始之前Before you begin

注意

因為 SharePoint Server 在 Internet Information Services (IIS) 中以網站形式運作,所以管理員與使用者均依賴瀏覽器提供的協助工具功能。SharePoint Server 支援所支援瀏覽器的協助工具功能。如需詳細資訊,請參閱下列資源:Because SharePoint Server runs as websites in Internet Information Services (IIS), administrators and users depend on the accessibility features that browsers provide. SharePoint Server supports the accessibility features of supported browsers. For more information, see the following resources:

設定搜尋結果網頁組件的屬性Configure properties of the Search Results Web Part

設定搜尋結果網頁組件的屬性To configure the properties of a Search Results Web Part

  1. 確認執行此程序的使用者帳戶為企業搜尋中心網站上設計者 SharePoint 群組的成員。Verify that the user account that performs this procedure is a member of the Designers SharePoint group on the Enterprise Search Center site.

  2. 在搜尋結果頁面上,按一下 [設定]**** 功能表,然後按一下 [編輯頁面]*On the search results page, click the *Settings menu, and then click Edit page.

  3. 在搜尋結果網頁組件中,按一下 [搜尋結果網頁組件功能表]**** 箭頭,然後按一下 [編輯網頁組件]*In the Search Results Web Part, click the *Search Results Web Part Menu arrow, and then click Edit Web Part.

  4. 在網頁組件工具窗格的 [搜尋準則]**** 區段中,按一下 [變更查詢]*In the Web Part tool pane, in the *Search Criteria section, click Change query.

  5. 在 [基礎]**** 索引標籤上,執行下列其中一個動作:On the BASICS tab, do one of the following:

    • 若要使用關鍵字查詢語言 (KQL) 來定義查詢,請選取下列清單中所述的選項:To define your query by using Keyword Query Language (KQL), select options as described in the following list:

      • 選取查詢Select a query

        選取結果來源,以指定要搜尋哪些內容。Select a result source to specify which content should be searched.

        預設會針對不同的搜尋類別頁面設定下列結果來源:By default, the following result sources are set for the different search vertical pages:

        • 所有項目 (results.aspx): 本機 SharePoint 結果 (系統)Everything (results.aspx): Local SharePoint Results (System)

        • 人員 (peopleresults.aspx): 本機人員結果 (系統)People (peopleresults.aspx): Local People Results (System)

        • 轉換 (conversationresults.aspx): 轉換 (系統)Conversations (conversationresults.aspx): Conversations (System)

        • 視訊 (videoresults.aspx): 本機視訊結果 (系統)Videos (videoresults.aspx): Local Video Results (System)

      • 關鍵字篩選Keyword filter

        您可使用關鍵字篩選,將查詢變數新增到查詢中。如需可用查詢變數的清單,請參閱<Query variables in SharePoint Server>。You can use keyword filters to add query variables to your query. For a list of available query variables,see Query variables in SharePoint Server.

        您可從下拉式清單中選取預先定義的查詢變數,然後按一下 [新增關鍵字篩選]*,將其新增到查詢中。You can select pre-defined query variables from the drop-down list, and then add them to the query by clicking *Add keyword filter.

      • 屬性篩選Property filter

        您可使用屬性篩選,以查詢搜尋結構描述中設為可查詢** 之 Managed 屬性的內容。You can use property filters to query the content of managed properties that are set to queryable in the search schema.

        您可從 [屬性篩選]**** 下拉式清單中選取 Managed 屬性。按一下 [新增屬性篩選]*,將篩選新增到查詢中。You can select managed properties from the *Property filter drop-down list. Click Add property filter to add the filter to the query.

      • 查詢文字Query text

        根據預設,已對此欄位定義查詢變數 {searchboxquery}。您可以使用 KQL 來變更查詢文字。如需 KQL 的詳細資訊,請參閱<關鍵字查詢語言 (KQL) 語法參考>。此外,您可以使用 [關鍵字篩選]**** 和 [屬性篩選]**** 清單來建置查詢。By default, the query variable {searchboxquery} is defined for this field. You can change the query text by using KQL. For more information about KQL, see Keyword Query Language (KQL) syntax referencehttps://msdn.microsoft.com/en-us/library/ee558911(v=office.15).aspx. Alternatively you can use the Keyword filter and Property filter lists to build the query.

        關鍵字查詢可包含任意的關鍵字、屬性篩選或運算子。請使用大括弧括住查詢變數,在執行查詢時,系統會自動將查詢變數取代為實際的值。The keyword query can consist of free-text keywords, property filters, or operators. Use braces to enclose query variables. The query variables will be replaced with an actual value when the query is run.

        關鍵字查詢的長度上限為 2,048 個字元。Keyword queries have a maximum length of 2,048 characters.

    • 若要使用預先定義的變數來定義查詢,請按一下 [切換至快速模式]*。請選取下列清單中所述的選項:To define your query by using pre-defined variables, click *Switch to Quick Mode. Select options as described in the following list:

      • 選取查詢Select a query

        選取結果來源,以指定要搜尋哪些內容。若您已以目錄形式共用文件庫或清單,下拉式清單中就會顯示目錄結果來源。Select a result source to specify which content should be searched. If you have shared a document library or list as catalog, the catalog result source will be displayed in this drop-down list.

      • 依應用程式限制Restrict by app

        從清單中選取某個選項,將結果限制在特定網站、文件庫、清單或 URL 中。Select an option from the list to restrict results to a specific site, library, list, or URL.

      • 依標籤限制Restrict by tag

        您可將結果限制在標記了字詞組之字詞的內容。You can limit results to content that is tagged with a term from a term set.

        請選取下列任一選項:Select one of the following options:

        • 不要受任何標籤限制Don't restrict by any tag

          不會依據標籤來限制搜尋結果 (預設)。Search results will not be limited based on tags (default).

        • 依目前頁面的導覽字詞進行限制Restrict by navigation term of current page

          搜尋結果會限制在標記了目前頁面之字詞的內容。目前的標記會顯示為易記 URL 的最後一部分。此選項僅適用於使用受管理導覽的網站。Search results will be limited to content that is tagged with the term of the current page. The current tag is displayed as the last part of the friendly URL. This option is only meaningful for sites that use managed navigation.

        • 依據目前和子導覽加以限制Restrict by current and child navigation

          搜尋結果會限制在標記了目前頁面 (顯示為易記 URL 的最後一部分) 之字詞的內容以及標記了目前頁面之子字詞的內容。此選項僅適用於使用受管理導覽的網站。Search results will be limited to content that is tagged with the term of the current page (displayed as the last part of the friendly URL), and content that is tagged with sub-terms of the current page. This option is only meaningful for sites that use managed navigation.

        • 依此標籤限制Restrict on this tag

          搜尋結果會限制在已標記了您在方塊中所輸入標籤的內容。Search results will be limited to content that is tagged with the tag that you type inside the box.

      附註: 從快速模式切換至進階模式時,您從 [選取查詢]**** 中選取的結果來源會取代為不同的結果來源。此結果來源可能會影響搜尋結果。因此,請確定檢查 [搜尋結果預覽]**** 區段中顯示的搜尋結果,並在 [查詢文字]**** 欄位中新增查詢設定 (如有需要)。Note: **When you switch to from Quick Mode to Advanced Mode, the result source that you selected from **Select a query is replaced by a different result source. This result source could affect the search results. Therefore, make sure that you check the search results that are displayed in the SEARCH RESULT PREVIEW section, and add query configuration in the Query text field if you need to.

  6. [精簡器]**** 索引標籤會列出搜尋結構描述中已啟用為精簡器的 Managed 屬性。您可指定搜尋結果網頁組件所傳回的搜尋結果要限制在精簡器的一或多個值。選取清單中的精簡器,然後按一下 [新增]**** 以新增到查詢中。The REFINERS tab lists the managed properties that are enabled as refiners in the search schema. You can specify that the search results returned in the Search Results Web Part should be limited to one or more values from the refiners. Select a refiner in the list, and then click Add to add it to the query.

    若您想要定義結果的分組方式,可按一下 [顯示更多]*。在 [群組結果]* 下,您可指定要依據一或多個 Managed 屬性來群組結果。若您要針對特定項目顯示若干變數,並想將其群組在單一結果下方時,這就非常實用。Click Show more if you want to define grouping of results. Under Group results, you can specify that the results should be grouped based on one or more managed properties. This is useful when you are displaying several variants for a given item, and want to group them under a single result.

  7. 在 [排序]**** 索引標籤中,您可以指定搜尋結果的排序方式。此索引標籤僅有在使用 [進階模式]**** 時可供使用。若您是使用 [快速模式]*,即可在結果來源中定義排序選項。On the *SORTING tab, you can specify how search results should be sorted. This tab is available only if you use Advanced Mode. If you use Quick Mode, you can define sorting options in the result source.

    在 [排序依據]**** 下拉式清單中:In the Sort by drop-down list:

    1. 請從 Managed 屬性 (其搜尋結構描述中是設定為 [可排序]) 的清單中選取一個 Managed 屬性,然後選取 [遞減]**** 或 [遞增]*。若要新增更多排序層級,請按一下 [新增排序層級]Select a managed property from the list of managed properties that are set as sortable in the search schema, and then select **Descending* or Ascending. To add more sorting levels, click Add sort level.

      注意

      搜尋結果的排序區分大小寫。Sorting of search results is case sensitive.

      重要

      如果您的結果來源包含排序,則不應該在搜尋結果網頁組件中指定排序。原因是結果來源中的排序會覆寫搜尋結果網頁組件中所指定的排序。If your result source contains sorting, you should not specify sorting in the Search Results Web Part. This is because the sorting in the result source overrides the sorting that you specify in the Search Results Web Part.

    2. 選取 [排名]**** 可依相關排名排序。您可以接著指定要使用哪個排名模型,或指定動態排序規則。Select Rank to sort by relevance rank. You can then specify which ranking model to use or specify dynamic ordering rules.

      • (選用) 選取要使用哪個排名模型在 [排名模型]**** 清單中進行排序。(Optional) Select which ranking model to use for sorting in the Ranking Model list.

      • 在 [動態排序]**** 中,您可套用特定條件時,新增可變更結果順序的規則以指定其他排名。按一下 [新增動態排序規則]*,然後再指定條件式規則。Under *Dynamic ordering, you can specify additional ranking by adding rules that will change the order of results when certain conditions apply. Click Add dynamic ordering rule, and then specify conditional rules.

  8. 在 [設定]**** 索引標籤中,指定下列清單中所列的設定。On the SETTINGS tab, specify the settings that are listed in the following list.

    • 查詢規則Query Rules

      選取是否要使用查詢規則。Select whether to use Query Rules or not.

    • URL 重寫URL Rewriting

      選取 URL 重寫為項目詳細資料頁面的行為是否仍應依據設定目錄連線時所定義,持續保持與每個目錄項目的關聯。此選項僅只對以下網站有意義:使用受管理導覽並已連線到對目錄頁面使用匿名存取的目錄。若選取 [不重寫 URL]*,目錄項目的 URL 就會直接指向已連接目錄的文件庫項目。Select if the URL rewrite to the item details page should continue to be relative for each catalog item as defined when you set up the catalog connection. This option is only meaningful for sites that use managed navigation and have connected to a catalog that uses anonymous access for the catalog pages. If you select *Don’t rewrite URLs, the URLs for catalog items are pointed directly to the library item of the connected catalog.

    • 載入行為Loading Behavior

      選取搜尋結果網頁組件所傳回的搜尋結果何時會出現在網頁上。預設選項是 [非同步選項:從瀏覽器發出查詢]*。在收到完成頁面 (非同步) 之後,將會從使用者的瀏覽器發出查詢。如果您選取 [同步選項:從伺服器發出查詢]* 同步選項,則會從伺服器發出查詢,而且搜尋結果會包含在從 SharePoint (同步) 傳回的頁面回應中。同步載入會讓搜尋遭受跨網站要求偽造攻擊,而您在仔細考慮是否可以利用此弱點之後,應該能選擇這個選項,進而深入了解。Select when the search results returned by the Search Results Web Part appear on the web page. The default option is Async option: Issue query from the browser. Queries will be issued from the end-users browser after the complete page is received (asynchronous). If you select the synchronous option, Sync option: Issue query from the server, queries are issued from the server, and the search results are included in the page response that is sent back from SharePoint (synchronous). Synchronous loading makes search vulnerable to cross-site request forgery attacks and you should only chose this option after carefully considering whether this vulnerability can be exploited, learn more.

  9. 在 [測試]**** 索引標籤中,您可預覽搜尋結果網頁組件傳送的查詢。On the TEST tab, you can preview the query that is sent by the Search Results Web Part.

    • 查詢文字Query text

      顯示搜尋結果網頁組件所執行的最終查詢。查詢文字會以將動態變數取代為目前值之原始查詢範本為依據,因此其他查詢變更就可能必須以查詢規則形式來進行。Shows the final query that will be run by the Search Results Web Part. It is based on the original query template where dynamic variables are substituted with current values. Other changes to the query may be made as part of a query rule.

    按一下 [顯示更多]**** 以顯示其他資訊。Click Show more to display additional information.

    • 查詢範本Query template

      顯示套用至查詢的查詢範本內容。Shows the content of the query template that is applied to the query.

    • 精簡依據Refined by

      依據 [精簡器]**** 索引標籤所定義的方式來顯示套用至查詢的精簡器。Shows the refiners applied to the query as defined on the REFINERS tab.

    • 群組依據Grouped by

      顯示哪些搜尋結果的 Managed 屬性應依據 [精簡器]**** 索引標籤所定義的方式來群組。Shows the managed property on which search results should be grouped as defined on the REFINERS tab.

    • 套用的查詢規則Applied query rules

      顯示查詢套用了哪些查詢規則。Shows which query rules are applied to the query.

    [查詢範本變數]**** 區段會顯示查詢將套用的查詢變數,以及套用至目前頁面的變數值。您可輸入其他值來測試這些值在查詢方面的效果。按一下 [測試查詢]**** 按鈕預覽搜尋結果。The Query template variables section shows the query variables that will be applied to the query, and the values of the variables that apply to the current page. You can type other values to test the effect they will have on the query. Click the Test Query button to preview the search results.

    您也可以搭配其他使用者區段字詞來測試查詢運作情況。按一下 [新增使用者區段字詞]****,以新增要加入查詢的字詞。You can also test how the query works for different user segment terms. Click **Add user segment term **to add terms to be added to the query.

    按一下 [測試查詢]**** 按鈕可預覽搜尋結果。Click the Test query button to preview the search results.

    • 查詢文字Query text

      顯示搜尋結果網頁組件所執行的最終查詢。查詢文字會以將動態變數取代為目前值之原始查詢範本為依據,因此其他查詢變更就可能必須以查詢規則形式來進行。Shows the final query that will be run by the Search Results Web Part. It is based on the original query template where dynamic variables are substituted with current values. Other changes to the query may be made as part of a query rule.

  10. 在網頁組件工具窗格的 [顯示範本]**** 區段中,預設選取項目為 [使用結果類型來顯示項目]*。此選取項目將會根據搜尋結果的結果類型,套用不同的顯示範本。例如,若搜尋結果的結果類型為 PDF 檔,則會套用顯示範本 [PDF 項目]。若搜尋結果的結果類型為影像,則會套用 [圖片項目]*** 顯示範本。若要將一個顯示範本套用到搜尋結果的所有結果類型,請選取 [使用單一範本來顯示項目]*,然後選取您要套用的顯示範本。In the Web Part tool pane, in the *Display Templates section, the default selection is Use result types to display items. This selection will apply different display templates according to the result type of the search result. For example, if the result type of a search result is a PDF file, the display template PDF Item will be applied. If the result type of a search result is an image, the Picture Item display template will be applied. To apply one display template to all result types of the search results, select Use a single template to display items, and then select the display template that you want to apply.

  11. 在網頁組件工具窗格中,若要在 [設定]**** 區段的 [結果設定]**** 中進一步指定搜尋結果的顯示方式,請變更下列欄位中的值:In the Web Part tool pane, in the Settings section, in the Results Settings, to further specify how search results should be shown, change the values in the following fields:

    • 每頁結果數目 每頁顯示的搜尋結果數目。Number of results per page The number of search results to be displayed per page.

    • 顯示排名的結果 如果只要顯示升級的區塊 (例如升級的結果或個人我的最愛) 或結果控制項 (例如結果計數) 而非排名的結果,請清除此核取方塊。Show ranked results Clear the check box if you want to show only promoted blocks (such as promoted results or personal favorites) or result controls (such as result counts) instead of the ranked results.

    • 顯示升級的結果 如果不要顯示您已使用查詢規則升級的搜尋結果,請清除此核取方塊。Show promoted results Clear the check box if you do not want to show search results that you have promoted by using Query rules.

    • 顯示「您的意思是?」 如果不要依「您的意思是」**** 的建議顯示查詢拼字校正,請清除此核取方塊。如需查詢拼字校正的詳細資訊,請參閱<在 SharePoint Server 中管理查詢拼字校正>。Show "Did you mean?" ** Clear the check box if you do not want to show query spelling corrections as **Did you mean suggestions. For more information about query spelling corrections, see Manage query spelling correction in SharePoint Server 2013.

    • 顯示個人的我的最愛 如果不要顯示個人的我的最愛,請清除此核取方塊。Show personal favorites Clear the check box if you do not want to show personal favorites.

    • 顯示檢視重複連結 如果想要顯示「檢視重複」**** 連結,請選取此核取方塊。Show View Duplicates link Select the check box if you want to show a View Duplicates link.

    • 顯示搜尋中心的連結 如果想要顯示搜尋中心的連結,請選取此核取方塊。Show link to search center Select the check box if you want to show a link to the Search Center.

  12. 在網頁組件工具窗格中,若要在 [設定]**** 區段的 [結果控制設定]**** 區段中指定搜尋結果的顯示方式,請變更下列欄位中的值:In the Web Part tool pane, in the Settings section, in the Results control settings section, to specify how search results should be shown, change the values in the following fields:

    • 顯示進階連結 如果不要在網頁組件中顯示 [進階搜尋] 頁面的連結,請清除此核取方塊。Show advanced link Clear the check box if you don't want to show a link to the Advanced Search page in the Web Part.

    • 顯示結果計數 如果不要在網頁組件中顯示找到的結果數目,請清除此核取方塊。Show result count Clear the check box if you don't want to show the number of results found in the Web Part.

    • 顯示語言下拉式清單 如果不要在網頁組件中顯示語言下拉式清單,請清除此核取方塊。Show language dropdown Clear the check box if you don't want to show the language drop-down in the Web Part.

    • 顯示排序下拉式清單 如果想要在網頁組件中顯示排序下拉式清單,請選取此核取方塊。Show sort dropdown Select the check box if you want to show the sort drop-down in the Web Part.

    • 顯示分頁 如果不要在網頁組件中顯示分頁,請清除此核取方塊。Show paging Clear the check box if you don't want to show paging in the Web Part.

    • 顯示喜好設定連結 如果不要在網頁組件中顯示喜好設定頁面的連結,請清除此核取方塊。Show preferences link Clear the check box if you don't want to show a link to the preferences page in the Web Part.

    • 顯示 [提醒我] 連結 如果不要在網頁組件中顯示 [提醒我]**** 頁面的連結,請清除此核取方塊。如需搜尋警示的詳細資訊,請參閱<在 SharePoint Server 中啟用搜尋提醒>。Show AlertMe link Clear the check box if you don't want to show a link to the Alert Me page in the Web Part. For more information about search alerts, see Enable search alerts in SharePoint Server 2013.

在搜尋結果網頁組件中停用相關字詞功能To disable stemming in a Search Results Web Part

相關字詞功能表示查詢中的名詞和形容詞會展開成不同的可能詞形變化。例如,若某人在查詢中輸入英文字 "foot",該字會自動擴充為 {"feet"}。同樣地,"overview" 這個字會擴充為 {"overviews"}。Stemming means that nouns and adjectives in a query are expanded to different possible inflections. For example, if a person enters the English word "foot" in a query, it is automatically expanded to {"feet"}. Similarly, the word "overview" is expanded to {"overviews"}.

若要在搜尋結果網頁組件中停用相關字詞功能To disable stemming in a Search Results Web Part

  1. 確認執行此程序的使用者帳戶為企業搜尋中心網站上設計者 SharePoint 群組的成員。Verify that the user account that performs this procedure is a member of the Designers SharePoint group on the Enterprise Search Center site.

  2. 在搜尋結果頁面上,按一下 [設定]**** 功能表,然後按一下 [編輯頁面]*On the search results page, click the *Settings menu, and then click Edit page.

  3. 在搜尋結果網頁組件中,按一下 [搜尋結果網頁組件功能表]**** 箭頭,按一下 [匯出...]*,然後將網頁組件儲存到電腦。In the Search Results Web Part, click the *Search Results Web Part Menu arrow, click Export…, and then save the Web Part to your computer.

  4. 在文字編輯器 (例如「記事本」) 中開啟此網頁組件。Open the Web Part in a text editor — for example, Notepad.

  5. 將 [EnableStemming]**** 的值變更為 [false]*,然後以新名稱儲存此檔案 — 例如,Search_Results_NoStemming.webpart。Change the value for *EnableStemming to false, and then save the file with a new name — for example, Search_Results_NoStemming.webpart.

  6. 在搜尋結果頁面的 [主要區域]**** 中,按一下 [新增網頁組件]*On the search results page, in the *Main Zone, click Add a Web Part.

  7. 在 [類別]**** 區段中,按一下 [上傳網頁組件]**** 箭頭。In the Categories section, click the Upload a Web Part arrow.

  8. 在 [上傳網頁組件]**** 區段中,按一下 [瀏覽]**** 尋找您已編輯的網頁組件檔案,然後按一下 [上傳]*In the *Upload a Web Part section, click Browse to find the Web Part file that you have edited, and then click Upload.

  9. 若要將自訂的搜尋結果網頁組件新增至搜尋結果頁面,請執行下列動作:To add the customized Search Results Web Part to the search results page, do the following:

    • 瀏覽至搜尋結果頁面。Browse to the search results page.

    • 按一下 [設定]**** 功能表,然後按一下 [編輯頁面]*Click the *Settings menu, and then click Edit Page.

    • 在欲新增網頁組件的網頁組件區域中,按一下 [新增網頁組件]*In the Web Part Zone where you want to add the Web Part, click *Add a Web Part.

    • 在 [類別]**** 清單中,選取 [匯入的網頁組件]*In the *Categories list, select Imported Web Parts.

    • 在 [組件]**** 清單中,選取您所上傳的網頁組件,然後按一下 [新增]*In the *Parts list, select the Web Part that you uploaded, and then click Add.

  10. 若要移除搜尋結果頁面中的預設搜尋結果網頁組件,請執行下列動作:To remove the default Search Results Web Part from the search results page, do the following:

    • 瀏覽至搜尋結果頁面。Browse to the search results page.

    • 按一下 [設定]**** 功能表,然後按一下 [編輯頁面]*Click the *Settings menu, and then click Edit Page.

    • 在網頁組件中,按一下 [搜尋結果網頁組件]**** 功能表箭頭,然後按一下 [刪除]*In the Web Part, click the *Search Results Web Part menu arrow, and then click Delete.

注意

停用下列語言以外之所有語言的相關字詞功能:阿拉伯文、愛沙尼亞文、芬蘭文、希伯來文、匈牙利文、韓文、拉脫維亞文及斯洛伐克文。Disabling stemming turns it off for all languages except the following: Arabic, Estonian, Finnish, Hebrew, Hungarian, Korean, Latvian, and Slovak.

另請參閱See also

在 SharePoint Server 中查詢變數Query variables in SharePoint Server

在 SharePoint Server 中設定搜尋的結果來源Configure result sources for search in SharePoint Server

在 SharePoint Server 中規劃轉換查詢和順序結果Plan to transform queries and order results in SharePoint Server

部落格系列:如何變更 SharePoint Server 2013 中搜尋結果的顯示方式Blog series: How to change the way search results are displayed in SharePoint Server 2013