顯示混合式同盟 SharePoint Server 中的搜尋結果Display hybrid federated search results in SharePoint Server

摘要:設定 SharePoint 混合式環境,以便從 SharePoint Server 搜尋中心的使用者搜尋能夠顯示來自 SharePoint Server 與 SharePoint Online 搜尋索引的結果。Summary: Configure a SharePoint hybrid environment so that user searches from the SharePoint Server Search Center display results from both the SharePoint Server and SharePoint Online search indexes.

本文是設定 SharePoint 混合式解決方案程序藍圖的一部分。當您執行本文中的程序時,請確定您遵循藍圖This article is part of a roadmap of procedures for configuring SharePoint hybrid solutions. Be sure you're following a roadmap when you do the procedures in this article.

本文說明如何設定 SharePoint 混合式環境,以便在 SharePoint Server 企業搜尋中心搜尋時顯示混合式結果 — 搜尋索引 (SharePoint Server 與 SharePoint Online) 亦即從兩者的結果。此設定會呼叫輸出混合式搜尋。This article describes how to configure a SharePoint hybrid environment so that searches from the SharePoint Server enterprise Search Center display hybrid results—that is, results from both search indexes (SharePoint Server and SharePoint Online). This configuration is called outbound hybrid search.

從 SharePoint Server,但在呼叫結果區塊的個別群組中的搜尋結果會顯示來自 SharePoint Online 搜尋結果。您可以設定從 SharePoint Online 顯示高於所有結果從 SharePoint 伺服器或透過相較於 SharePoint Server 結果的相關性排名的結果區塊。The search results from SharePoint Online will appear with the search results from SharePoint Server, but in a separate group called a result block. You can configure the block of results from SharePoint Online to be shown above all the results from SharePoint Server, or to be ranked by relevance compared to the SharePoint Server results.

若要在 SharePoint Server 中的企業搜尋中心] 中執行下列程序是 SharePoint 伺服器部署中顯示混合式搜尋結果詳加描述本文:To display hybrid search results in the SharePoint Server enterprise Search Center, in the SharePoint Server deployment you perform the following procedures, which are described in detail this article:

步驟 1:建立定義如何從 SharePoint Online 取得搜尋結果的結果來源Step 1: Create a result source that defines how to get search results from SharePoint Online

在此程序,您可以建立 SharePoint Server 部署中的結果來源。這種結果來源是指定做為取得搜尋結果的提供者的 [SharePoint Online 的定義。這個定義指定下列各項:In this procedure, you create a result source in the SharePoint Server deployment. This result source is a definition that specifies SharePoint Online as a provider to get search results from. This definition specifies each of the following:

  • 要取得搜尋結果的 SharePoint Online URLThe SharePoint Online URL to get search results from

  • 取得那些結果的通訊協定The protocol for getting those results

  • 驗證對 SharePoint Online 的方法The method for authenticating against SharePoint Online

結果來源可以在 Search Service 應用程式層級、網站集合層級或網站層級建立。在此程序中,您將在 Search Service 應用程式層級建立結果來源。這會將結果來源提供給在同一個層級建立的任何查詢規則,並提供給對於使用 Search Service 應用程式的 Web 應用程式之中的網站集合或網站建立的任何查詢規則。Result sources can be created at the Search service application level, the site collection level, or the site level. In this procedure, you create the result source at the Search service application level. This will make the result source available to any query rule that is created at the same level, and also to any query rule that is created for a site collection or site that is in a web application that consumes the Search service application.

如需結果來源的詳細資訊,請參閱下列資源:For more information about result sources, see the following resources:

建立結果來源To create the result source

  1. 確認您用來執行此程序的使用者帳戶是您要設定的 Search Service 應用程式的管理員。Verify that the user account that you use to perform this procedure is an administrator for the Search service application that you want to configure.

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

  3. 按一下您要新增結果來源的 Search Service 應用程式。Click the Search service application to which you want to add a result source.

  4. 按一下 [Search service 應用程式,在 [快速啟動] 的 [搜尋管理] 頁面上的 [結果來源]。On the Search Administration page for the Search service application, in the Quick Launch, click Result Sources.

  5. 在 [管理結果來源] 頁面上按一下 [新增結果來源]。On the Manage Result Sources page, click New Result Source.

  6. 在 [新增結果來源] 頁面上執行下列動作:On the Add Result Source page, do the following:

    • 在 [一般資訊] 區段的 [名稱] 文字方塊中輸入新結果來源的名稱 — 例如,Get results from SharePoint Online。In the General Information section, in the Name text box, type a name for the new result source—for example, Get results from SharePoint Online.

      用以從 SharePoint Online 取得結果的前四個結果來源頁面區段

    • (選用)在 [一般資訊] 區段的 [描述] 文字方塊中輸入新結果來源的描述。(Optional) In the General Information section, in the Description text box, type a description of the new result source.

      將滑鼠指標放在特定設定頁面的結果來源上時,此描述將會顯示為工具提示。This description will appear as a tooltip when the pointer rests on the result source on certain configuration pages.

    • 在 [通訊協定] 區段中,選取 [遠端 SharePoint]。In the Protocol section, select Remote SharePoint.

    • 在 [遠端服務 URL ] 區段中,輸入 SharePoint Online 中您要取得搜尋結果,例如的根網站集合位址https://adventure-works.sharepoint.comIn the Remote Service URL section, type the address of the root site collection in SharePoint Online that you want to get search results from, such as https://adventure-works.sharepoint.com.

    • 在 [類型] 區段中,選取 [SharePoint 搜尋結果]。In the Type section, select SharePoint Search Results.

    • 在 [查詢轉換] 區段中,您可以使用查詢轉換縮小搜尋結果,以指定的子集 — 例如,已從特定的 SharePoint 網站集合或網站的子集。不過,如果您熟悉查詢轉換在 SharePoint Server 中,我們建議該您保留預設查詢轉換此處。預設轉換是{searchTerms},這是查詢變數代表查詢的使用者輸入,因為它由最近查詢轉換所變更。如果您熟悉查詢轉換,保留預設查詢轉換或是在文字方塊中輸入不同的查詢轉換。您也可以按一下 [啟動查詢建立器如果您想要使用查詢建立器協助您設定不同的查詢轉換。如需詳細資訊請參閱規劃轉換查詢和順序結果 in SharePoint ServerSharePoint Server 中的查詢變數In the Query Transform section, you can use the query transform to narrow the search results to a specified subset—for example, a subset that is from a particular SharePoint site collection or site. However, if you are not familiar with query transforms in SharePoint Server, we recommend that you keep the default query transform here. The default transform is {searchTerms}, which is a query variable that stands for the query that the user typed, as it was changed by the most recent query transform. If you are familiar with query transforms, either keep the default query transform or type a different query transform in the text box. You can also click Launch Query Builder if you want to use Query Builder to help you configure a different query transform. For more information about see Plan to transform queries and order results in SharePoint Server and Query variables in SharePoint Server.

      SP15 中新結果來源頁面上的查詢轉換和認證資訊區段

    • 在 [認證資訊] 區段中,選取 [預設驗證]。In the Credentials Information section, select Default Authentication.

    • 按一下 [儲存] 以儲存新結果來源。Click Save to save the new result source.

步驟 2:建立查詢規則以在 SharePoint Server 2013 中開啟混合搜尋結果Step 2: Create a query rule to turn on hybrid search results in SharePoint Server 2013

在此程序,您可以建立 SharePoint Server 部署中的查詢規則。此查詢規則使用您在本文中的上一個程序中建立的結果來源。時就會引發查詢規則,使搜尋結果顯示在 SharePoint Server 部署中的搜尋結果頁面上的結果區塊中的 SharePoint Online 搜尋索引。從 SharePoint Online 搜尋索引的結果會顯示以及 SharePoint Server 搜尋索引的結果。In this procedure, you create a query rule in the SharePoint Server deployment. This query rule uses the result source that you created in the previous procedure in this article. When the query rule fires, it causes search results from the SharePoint Online search index to be displayed in a result block on a search results page in the SharePoint Server deployment. The results from the SharePoint Online search index are displayed along with results from the SharePoint Server search index.

查詢規則可以在 Search Service 應用程式層級、網站集合層級或網站層級建立。在此程序中,您將在 Search Service 應用程式層級建立查詢規則。由於您是在此層級建立規則,因此規則將套用於使用者在使用 Search Service 應用程式的網站或網站集合中提交的查詢。Query rules can be created at the Search service application level, the site collection level, or the site level. In this procedure, you create the query rule at the Search service application level. Because you create the rule at this level, the rule can apply to queries that users submit in sites or site collections that consume the Search service application.

如需查詢規則的詳細資訊,請參閱規劃轉換查詢和順序結果 in SharePoint ServerSharePoint Server 中的管理查詢規則For more information about query rules, see Plan to transform queries and order results in SharePoint Server and Manage query rules in SharePoint Server

  1. 確認您用來執行此程序的使用者帳戶是您要設定的 Search Service 應用程式的管理員。Verify that the user account that you use to perform this procedure is an administrator for the Search service application that you want to configure.

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

  3. 按一下剛才本文中的上一個程序中的結果來源的搜尋服務應用程式 (步驟 1: 建立定義如何從 SharePoint Online 取得搜尋結果的結果來源)。Click the Search service application in which you created a result source in the previous procedure in this article (Step 1: Create a result source that defines how to get search results from SharePoint Online).

  4. 在_Search_service_application_name_: 搜尋管理] 頁面的 [快速啟動] 按一下 [查詢規則On the Search_service_application_name: Search Administration page, in the Quick Launch, click Query rules.

  5. 在_Search_service_application_name_: 管理查詢規則] 頁面上,執行下列動作:On the Search_service_application_name: Manage Query Rules page, do the following:

    • 文字下方哪一種內容執行動作您要設定規則?,在 [選取結果來源] 下拉式清單中,選取您想要套用此查詢規則的結果來源。Under the text For what context do you want to configure rules?, in the Select a Result Source drop-down list, select a result source for which you want this query rule to be applicable.

      進行測試時,建議您選取[本機 SharePoint 結果結果來源此處。如果這麼做,則預設查詢規則將會是適用於當使用者執行查詢中每個項目] 搜尋類別中的企業搜尋中心,因為該垂直預設使用本機 SharePoint 結果結果來源。For testing, we recommend that you select the Local SharePoint Results result source here. If you do so, then by default the query rule will be applicable when a user performs a query in the Everything search vertical in the enterprise Search Center, because that vertical uses the Local SharePoint Results result source by default.

      從下拉式清單中選取結果來源之後,套用至該結果來源的所有現有查詢規則會出現在頁面。(在_Search_service_application_name_: 新增查詢規則] 頁面的 [內容] 區段中,您將能夠新增或移除想要套用規則的結果來源。)After you select a result source from the drop-down list, all existing query rules that apply to that result source appear on the page. (On the Search_service_application_name: Add Query Rule page, in the Context section, you will be able to add or remove result sources for which you want the rule to be applicable.)

      SharePoint Server 2013 中管理查詢規則頁面的內容區段

    • (選用)文字下方哪一種內容執行動作您要設定規則?,在使用者區段] 下拉式清單中,選取您想要套用此查詢規則的使用者區段。使用者區段根據 Managed Metadata service 應用程式的字詞庫中描述使用者的字詞。(在 [新增查詢規則] 頁面的 [內容] 區段中,您將能夠新增或移除想要套用規則的使用者區段。)(Optional) Under the text For what context do you want to configure rules?, in the User Segments drop-down list, select a user segment for which you want this query rule to be applicable. User segments are based on terms that describe users in the term store of a Managed Metadata service application. (On the Add Query Rule page, in the Context section, you will be able to add or remove user segments for which you want the rule to be applicable.)

    • (選用)文字下方哪一種內容執行動作您要設定規則?主題類別下拉式清單中,選取您想要套用此查詢規則的主題類別。主題類別根據 Managed Metadata service 應用程式的字詞庫中類別的字詞。(在 [新增查詢規則] 頁面的 [內容] 區段中,您將能夠新增或移除想要套用規則的類別。)(Optional) Under the text For what context do you want to configure rules?, in the Topic Categories drop-down list, select a topic category for which you want this query rule to be applicable. Topic categories are based on terms for categories in the term store of a Managed Metadata service application. (On the Add Query Rule page, in the Context section, you will be able to add or remove categories for which you want the rule to be applicable.)

    • 按一下 [新增查詢規則Click New Query Rule.

  6. 在_Search_service_application_name_:新增查詢規則] 頁面上,執行下列動作:On the Search_service_application_name: Add Query Rule page, do the following:

    • 在 [一般資訊] 區段的 [規則名稱] 文字方塊中輸入新查詢規則的名稱 — 例如,Show results from SharePoint Online。In the General Information section, in the Rule Name text box, type a name for the new query rule—for example, Show results from SharePoint Online.

    • 如果 [內容] 區段已摺疊,按一下以展開它的快顯] 旁的箭號。If the Context section is collapsed, click the arrow next to Context to expand it.

      SharePoint Server 2013 中新增查詢規則頁面的內容區段

    • 在 [內容] 區段的 [查詢會在這些來源上執行,請選取 [所有來源如果您想要套用的查詢使用者針對任何結果來源、 送出或選取都 [這些來源之一,此查詢規則並加上 then(選用) 按一下 [新增來源] 新增您想要套用查詢規則的其他結果來源。In the Context section, under Query is performed on these sources, select All sources if you want this query rule to be applicable for queries that users submit against any result source, or select One of these sources, and then optionally click Add Source to add other result sources for which you want the query rule to be applicable.

    • (選用)在 [從這些類別執行查詢,指定主題類別 (根據主題中的類別字詞的受管理的中繼資料服務應用程式字詞庫) 執行的查詢。(Optional) Under Query is performed from these categories, specify the topic categories (based on terms for topic categories in the term store of a Managed Metadata service application) to perform the query from.

    • (選用)在 [查詢都由這些使用者區段,指定使用者區段 (根據可說明使用者在受管理的中繼資料服務應用程式的字詞庫中字詞) 至您想要套用的查詢規則。(Optional) Under Query is performed by these user segments, specify user segments (based on terms that describe users in the term store of a Managed Metadata service application) to which you want the query rule to apply.

    • 在 [查詢條件] 區段中,指定條件以控制何時規則觸發,按一下 [移除條件] 如果您想要對任何查詢文字觸發的規則。進行測試時,建議您按一下 [移除條件,使規則對於任何查詢文字觸發。In the Query Conditions section, specify conditions to control when the rule will fire, or click Remove Condition if you want the rule to fire for any query text. For testing, we recommend that you click Remove Condition so that the rule will fire for any query text.

      SharePoint Server 2013 中新增查詢規則頁面的查詢條件區段

    • 在 [動作] 區段中的 [結果區塊] 下按一下 [新增結果區塊]。In the Actions section, under Result Blocks, click Add Result Block.

      SharePoint Server 2013 中 [新增結果區塊] 對話方塊的螢幕擷取畫面

    • (選用)在 [區塊標題] 區段的 [標題] 文字方塊中標題變更為您想要顯示在搜尋結果頁面上,從 SharePoint Online"{subjectTerms}"結果如結果區塊上方的文字。(Optional) In the Block Title section, in the Title text box, change the title to the text that you want to display above the result block on the search results page, such as Results for "{subjectTerms}" from SharePoint Online.

    • 在 [ Que 之後] 區段中,輸入您想要執行的查詢。在 [設定查詢] 文字方塊中輸入它或啟動查詢產生器來取得設定查詢的說明。如果您還不熟悉 SharePoint Server 中轉換查詢,我們建議您保留預設查詢 here nm-oc-13-1st {subjectTerms}。如需詳細資訊請參閱規劃轉換查詢和順序結果 in SharePoint ServerSharePoint Server 中的查詢變數In the Que ry section, enter the query you want to run. Either type it in the Configure Query text box, or launch the Query Builder to get help configuring the query. If you are not familiar with transforming queries in SharePoint Server, we recommend that you keep the default query here, namely {subjectTerms}. For more information see Plan to transform queries and order results in SharePoint Server and Query variables in SharePoint Server.

    • 在 [查詢] 區段的 [搜尋此來源] 下拉式清單中,選取您在本文中的上一個程序中建立結果來源的名稱 (步驟 1: 建立定義如何取得搜尋結果的結果來源SharePoint Online) — 例如,Get results from SharePoint Online。In the Query section, in the Search this Source drop-down list, select the name of the result source that you created in the previous procedure in this article ( Step 1: Create a result source that defines how to get search results from SharePoint Online)—for example, Get results from SharePoint Online.

    • 在 [查詢] 區段中的項目] 下拉式清單中,選取 [從 SharePoint Online 想要顯示搜尋結果頁面上的結果區塊中的搜尋結果數目。In the Query section, in the Items drop-down list, select the number of search results from SharePoint Online that you want to show in this result block on the search results page.
      例如,選取 [ 3 ] 此結果區塊中顯示來自 SharePoint Online 的三個結果。For example, select 3 to display three results from SharePoint Online in this result block.

    • 如果您想要顯示在結果區塊的底端顯示更多連結、 展開 [設定] 區段中選取多個連結會移至下列 URL,並輸入會顯示來自 SharePoint Online 的更多結果] 頁面上的連結的 URL搜尋索引。If you want to display a Show More link at the bottom of the result block, expand the Settings section and select More link goes to the following URL, and type the URL for the link to a page that displays more results from the SharePoint Online search index.

      例如,將指定的主要搜尋結果頁面為顯示更多結果] 頁面上,通常是您可以輸入下列格式的 URL (後面加上"?k = {subjectTerms}"為一般使用者的搜尋查詢以): http:// domain_name.com/sites/ Search_Center_name/pages/results.aspx?k={subjectTerms}。For example, to specify the main search results page as the page that displays more results, typically you can type a URL of the following form (followed by "?k={subjectTerms}" to signify the user's search query): http:// domain_name.com/sites/ Search_Center_name/pages/results.aspx?k={subjectTerms}.

      當使用者按一下 [顯示更多時,就會看到更多結果的結果區塊。When end users click Show More, they will see more results for the result block.

    • 指定從 SharePoint Online 相對於從 SharePoint Server 結果的結果區塊的位置。Specify the placement of the block of results from SharePoint Online relative to the results from SharePoint Server.

      • 選取 [此區塊永遠會核心結果上方的搜尋結果第一頁的頂端或附近顯示結果區塊]。在此例中核心結果就是從 SharePoint Server 搜尋索引的結果。此選項很有用的測試、 或大部分的相關的內容位於遠端搜尋索引中的混合式環境。如果您選取此選項的多個結果區塊時,您可以設定結果區塊的排名相關聯的查詢規則的顯示的順序。Select This block is always shown above core results to display the result block at or near the top of the first page of search results. In this case, core results are the results from the SharePoint Server search index. This option is useful for testing, or when most of the relevant content is located in the remote search index in the hybrid environment. If you select this option for more than one result block, you can configure the order in which the result blocks are displayed by ranking the associated query rules.
      • 選取 [顯示結果區塊如此它透過相較於在核心結果的相關性排名,這種情況的結果區塊可能不會出現在搜尋結果的第一頁上的 [此區塊排名內核心結果 (可能不會顯示)Select This block is ranked within core results (may not show) to display the result block such that it is ranked by relevance compared to the core results, in which case the result block might not appear on the first page of search results.
        這是預設設定且通常是實際執行環境中比較合適的選擇。就個別結果而言,當使用者稍後執行相同查詢時,結果區塊的排名可能有所不同。例如,若使用者按一下結果區塊中的搜尋結果,則結果區塊在搜尋結果中的排名會愈來愈高。否則,結果區塊的排名會愈來愈低。This is the default setting and is typically the more appropriate choice in a production environment. As with individual results, the rank of the result block might be different when users perform the same query later. For example, if users click search results in the result block, the result block will be ranked higher in the search results over time. Otherwise, the result block will be ranked lower over time.
    • (選用)在 [群組顯示範本 URL ] 文字方塊中指定群組顯示範本的不同的 URL。(Optional) Specify a different URL for the group display template in the Group Display Template URL text box.

    • (選用)在 [項目顯示範本] 文字方塊中指定的項目顯示範本(Optional) Specify an item display template in the Item Display Template text box,

    • 略過 [路由] 區段。Skip the Routing section.

    • 按一下 [新增結果區塊的[確定]Click OK to add the result block.

  7. (選用)指定當查詢規則應為作用中。在 [發佈] 區段中使用欄位 [開始日期結束日期檢閱日期] 及連絡人。開始日期和結束日期指定查詢規則時將使用中。(Optional) Specify when the query rule shall be active. In the Publishing section, use the Start Date, End Date, Review Date, and Contact fields. The start date and end date specify when the query rule will be active.

    • 如果您指定沒有結束日期是開始日期、 規則一律是使用中的開始日期之後。If you specify a start date without an end date, the rule will always be active after the start date.
    • 如果您指定的開始日期沒有結束日期、 規則一律是使用中的結束日期之前。If you specify an end date without a start date, the rule will always be active until the end date.
    • 如果您未指定開始日期或結束日期,一律會使用中文規則。If you do not specify a start date or an end date, the rule will always be active.
  8. 在 [發佈] 區段中選取 [是使用中啟用查詢規則。使用中查詢規則時,它就會引發查詢條件符合時。Activate the query rule by selecting Is Active in the Publishing section. When a query rule is active, it fires whenever the query conditions are met.

  9. 按一下 [儲存]。Click Save.

在幾分鐘,當同盟的使用者送出從 SharePoint Server 搜尋中心針對您在此程序的步驟 6 c 指定結果來源的查詢之後, 就會看到這兩個搜尋索引的結果如下列螢幕擷取畫面所示。在螢幕擷取畫面的 SharePoint Online 的三個搜尋結果區塊會出現在搜尋結果上方從 SharePoint 伺服器。After a few moments, when federated users submit queries from the SharePoint Server Search Center against a result source that you specified in step 6c of this procedure, they will see results from both search indexes, as shown in the following screen shot. In the screen shot, a block of three search results from SharePoint Online appears above the search results from SharePoint Server.

注意

同盟的使用者是內部部署 Active Directory 網域服務 (AD DS) 網域帳戶會同步處理 SharePoint Server 與 SharePoint Online、 之間及誰存取這兩個環境中的資源由同盟身分識別與驗證提供者,例如 Active Directory Federation Services (AD FS) 2.0。A federated user is a user whose on-premises Active Directory Domain Services (AD DS) domain account is synchronized between SharePoint Server and SharePoint Online, and who accesses resources in both environments by authenticating with the federation identity provider, such as Active Directory Federation Services (AD FS) 2.0.

SharePoint Server 2013 中混合式搜尋結果的螢幕擷取畫面

步驟 3:嘗試從 SharePoint Server 2013 搜尋中心搜尋Step 3: Try a search from the SharePoint Server 2013 Search Center

若要驗證您的設定以便在 SharePoint Server 搜尋中心顯示來自 SharePoint Server 與 SharePoint Online 搜尋結果,您可以登入以同盟使用者的 SharePoint Server 並嘗試某些企業搜尋中心搜尋時。使用下列程序驗證您以這種方式的設定。To validate your configuration for displaying search results from both SharePoint Server and SharePoint Online in the SharePoint Server Search Center, you can log on to SharePoint Server as a federated user and try some searches from the enterprise Search Center. Use the following procedure to validate your configuration in this way.

重要

如果您使用單一登入 (SSO) 驗證,務必使用同盟的使用者帳戶,以測試混合式搜尋功能。原生 Office 365 使用者帳戶和非同盟的 Active Directory 網域服務 (AD DS) 帳戶不會辨識這兩個目錄服務。因此,無法使用 SSO 進行驗證,且不能授與權限給這兩種部署中的資源。如需詳細資訊,請參閱帳戶所需的混合式設定和測試If you are using single sign-on (SSO) authentication, it is important to test hybrid Search functionality by using federated user accounts. Native Office 365 user accounts and Active Directory Domain Services (AD DS) accounts that are not federated are not recognized by both directory services. Therefore, they cannot authenticate using SSO and cannot be granted permissions to resources in both deployments. For more information, see Accounts needed for hybrid configuration and testing.

  1. SharePoint Server 部署誰已經啟用在 SharePoint Online 中且有權檢視 SharePoint Online 中的根網站集合的同盟使用者身分登入。Log on to the SharePoint Server deployment as a federated user who has been activated in SharePoint Online and who has permissions to view the root site collection in SharePoint Online.

  2. 瀏覽至 SharePoint Server 部署中的企業搜尋中心。Browse to the enterprise Search Center in the SharePoint Server deployment.

  3. 在企業搜尋中心,執行下列動作:In the enterprise Search Center, do the following:

  4. 在 [搜尋結果] 頁面上,您應該會看見來自 SharePoint Server 搜尋索引和 SharePoint Online 搜尋索引結果的結果區塊的結果。On the search results page, you should see results from the SharePoint Server search index and a result block of results from the SharePoint Online search index.

  5. 如果看不到兩個搜尋索引的結果,請執行下列動作:If you do not see results from both search indexes, do the following:

  6. 如果您仍未看見來自兩個搜尋索引的搜尋結果,請檢查 SharePoint 統一登入服務 (ULS) 記錄檔,也稱為 SharePoint 追蹤記錄檔。If you still do not see search results from both search indexes, check the SharePoint Unified Logging Service (ULS) logs, also called the SharePoint trace logs.

    如需詳細資訊,請參閱統一登入系統 (ULS) 記錄概觀 (英文)。For more information, see Overview of Unified Logging System (ULS) Logging.

另請參閱See also

概念Concepts

Plan hybrid federated search for SharePoint ServerPlan hybrid federated search for SharePoint Server

顯示混合式同盟 SharePoint Online 中的搜尋結果Display hybrid federated search results in SharePoint Online