在雲端混合式搜尋中啟用內部部署搜尋結果預覽Enable previews of on-premises search results in cloud hybrid search

了解如何在 Office 365 的搜尋中心內,針對雲端混合式搜尋啟用內部部署搜尋結果的預覽功能。Learn how to enable display of previews of on-premises search results in a Search Center in Office 365 for cloud hybrid search.

雲端混合式搜尋中,當使用者在 Office 365 中進行搜尋時,他們會從內部部署和 Office 365 內容獲得搜尋結果。當使用者將滑鼠指標停留在來自 Office 365 的搜尋結果時,畫面上會顯示內容的相關資訊以及內容的預覽。系統會自動顯示來自 SharePoint Server 的搜尋結果內容相關資訊,但不會自動顯示其預覽。您可以針對來自 SharePoint Server 2013 和 SharePoint Server 2016 的內容啟用預覽顯示,但來自 SharePoint Server 2010 的內容則無法啟用此顯示。使用者可以在來自 SharePoint Server 2010、SharePoint Server 2013 和 SharePoint Server 2016 的搜尋結果上按一下,以存取其內容。In cloud hybrid search, when users search in Office 365, they get search results from both on-premises and Office 365 content. When a user hovers over a search result that comes from Office 365, information about the content as well as a preview of the content is displayed. Information about the content from search results that come from SharePoint Server is displayed automatically, but display of previews is not automatic. You can enable such display of previews for content from SharePoint Server 2013 and SharePoint Server 2016, but not for content from SharePoint Server 2010. Users can click search results that come from SharePoint Server 2010, SharePoint Server 2013, and SharePoint Server 2016 to access the content.

若要在 SharePoint Server 中啟用內部部署內容的預覽,您必須設定內部部署 Office Online 伺服器,並將 SharePoint Server 設定為使用它。To enable previews for on-premises content in SharePoint Server you need to set up an on-premises Office Online Server and configure SharePoint Server to use it.

什麼是 Office Online 伺服器?What is Office Online Server?

Office Online 伺服器 是一款 Office 伺服器產品,可讓使用者使用網頁瀏覽器在線上存取其文件。SharePoint Server 內容伺服器陣列會使用獨立的 Office Online 伺服器 來提供瀏覽器架構版本的 Word、PowerPoint、Excel 及 OneNote。Office Online Server is an Office server product that lets users access their documents online using a web browser. For SharePoint Server content farms, it's the stand-alone Office Online Server that delivers the browser-based versions of Word, PowerPoint, Excel, and OneNote.

下圖顯示資訊會從 Office 365 搜尋中心的搜尋結果,透過 Office Web Apps Server 流向 SharePoint Server 2013 內容,並透過 Office Web Apps Server 回到搜尋中心內容預覽。

  1. 在 Office 365 搜尋中心內,使用者將滑鼠指標放在 Word 文件上,此文件儲存在 SharePoint Server 內部部署內容伺服器陣列上。In an Office 365 Search Center, a user hovers over a search result for a Word document that's stored on a SharePoint Server on-premises content farm.

  2. 顯示文件預覽的要求會進入 Office Online 伺服器。您必須確保使用者可從所在位置存取 Office Online 伺服器。例如,如果您想要支援公司網路外的使用者,您可以將 Office Online 伺服器 設為可透過反向 Proxy 來存取。The request to show a preview of the document goes to the Office Online Server. You have to ensure that the Office Online Server is accessible from where the user is. For example, if you want to support users that are outside the corporate network, you can make the Office Online Server accessible through a reverse proxy.

  3. Office Online 伺服器 從內容伺服器陣列取得文件,並將文件呈現在使用者的網頁瀏覽器中。The Office Online Server gets the document from the content farm and renders the document in the user's web browser.

在 SharePoint Server 中開啟內部部署內容的預覽Turn on previews for on-premises content in SharePoint Server

遵循下列程序:Follow these procedures:

  1. 部署 Office Web Apps Server 伺服器陣列Deploy the Office Web Apps Server farm

  2. 將 SharePoint Server 2013 設定為使用 Office Web Apps ServerConfigure SharePoint Server 2013 to use the Office Web Apps Server

  3. 選用:將 Office Online 伺服器 設為可從公司網路外部來存取。Optional: Make the Office Online Server accessible outside the corporate network.

部署 Office Online Server 伺服器陣列Deploy the Office Online Server farm

Office Online 伺服器 必須位於與 SharePoint Server 不同的伺服器上。以下是部署 Office Online 伺服器 伺服器陣列的步驟:Office Online Server needs to be on a separate server than SharePoint Server. Here are the steps for deploying the Office Online Server farm:

  1. 規劃如何使用 Office Web Apps ServerPlan how to use the Office Web Apps Server.

  2. 部署 Office Web Apps Server,以下是步驟的概觀:Deploy Office Web Apps Server, here's an overview of the steps:

    • 讓 Office Online 伺服器 伺服器陣列中的每部伺服器都準備好執行 Office Online 伺服器:這包括安裝 Office Online 伺服器 的必要軟體、安裝 Office Online 伺服器 和相關更新,以及安裝 Office Online 伺服器 的語言套件。Prepare each server in the Office Online Server farm to run Office Online Server. This includes installing prerequisite software of Office Online Server, installing Office Online Server and related updates, and installing language packs for Office Online Server.

    • 部署 Office Online 伺服器 伺服器陣列。如果您的部署目的是為了進行測試,請部署使用 HTTP 的單一伺服器 Office Online 伺服器 伺服器陣列。如果您的部署目的是為了建立生產環境,請部署使用 HTTPS 的單一伺服器 Office Online 伺服器 伺服器陣列。Deploy the Office Online Server farm. If you're deploying for test purposes, deploy a single server Office Online Server farm that uses HTTP. If you're deploying for production, deploy a single server Office Online Server farm that uses HTTPS.

將 SharePoint Server 設定為使用 Office Online 伺服器Configure SharePoint Server to use the Office Online Server

  1. 規劃要如何搭配使用 Office Web Apps 與 SharePoint 2013。Plan how you want to use Office Web Apps with SharePoint 2013.

  2. 將 SharePoint 2013 設定為使用 Office Web Apps Server。以下為步驟概觀:Configure SharePoint 2013 to use Office Web Apps Server. Here's an overview of the steps:

    • 在 SharePoint Server 和 Office Online 伺服器 之間建立繫結,讓來自 Office Online 伺服器 的流量可以進入 SharePoint Server。Create a binding between SharePoint Server and the Office Online Server so traffic from the Office Online Server can enter SharePoint Server.

    • Office Online 伺服器 會使用區域來決定在與 SharePoint Server 通訊時所要使用的 URL (內部或外部) 與通訊協定 (HTTP 或 HTTPS)。依預設,SharePoint Server 會使用 internal-https 區域。如果您部署 Office Online 伺服器 是為了進行測試,請將 SharePoint Server 設定為使用 internal-http 區域,以及將 SharePoint Server 設定為允許透過 HTTP 驗證。如果您部署 Office Online 伺服器 是為了建立生產環境,請將 SharePoint Server 設定為使用 internal-https 區域。Office Online Server uses zones to determine which URL (internal or external) and which protocol (HTTP or HTTPS) to use when it communicates with SharePoint Server. By default, SharePoint Server uses the internal-https zone. If you've deployed Office Online Server for test purposes, set SharePoint Server to use the internal-http zone and set SharePoint Server to allow authentication over HTTP. If you've deployed Office Online Server for production, set SharePoint Server to use the internal-https zone.

    • 確認 Office Online 伺服器 運作正常。Verify that Office Online Server is working.

另請參閱See also

其他資源Other Resources

深入了解 SharePoint 的雲端混合式搜尋Learn about cloud hybrid search for SharePoint

規劃 SharePoint 的雲端混合式搜尋Plan cloud hybrid search for SharePoint

設定 SharePoint 的雲端混合式搜尋Configure cloud hybrid search for SharePoint