設定 SharePoint Server 中的搜尋中心Set up a Search Center in SharePoint Server

摘要:了解如何設定 SharePoint Server 2016 與 SharePoint Server 2013 的搜尋中心。Summary: Learn how to set up a Search Center in SharePoint Server 2016 and SharePoint Server 2013.

搜尋中心是您可搜尋的內容的組織的內部網路入口網站。這一系列的文章將展示如何設定及管理 SharePoint Server 中的搜尋中心的詳細資訊。但是我們了解詳細資料之前,我們將為您提供一些背景資訊和一些規劃秘訣與技巧 (英文)。A Search Center is a portal where you can search for content on your organization's intranet. This series of articles will present details of how to set up and manage a Search Center in SharePoint Server. But before we learn about the details, we'll give you some background information and some planning tips and tricks.

什麼是搜尋中心及如何規劃?What's a Search Center and how do I plan it?

搜尋中心的格式類似於 like Bing 網際網路搜尋] 頁面上: 已定義您可以在此輸入查詢的起始頁面。它具有其中您可以向下切入及調整搜尋結果,或者您可以執行新查詢的搜尋結果頁面。A Search Center resembles an Internet search page like Bing: it has a starting page where you can enter queries. It has search result pages where you can drill into and refine search results, or you can run a new query.

在網際網路上您希望搜尋設為簡單且快速,並提供您相關的結果,並應可預期相同當您嘗試尋找在您的公司內部網路上的資訊。On the internet, you want search to be easy and fast, and to give you relevant results, and you should expect the same when you're trying to find information on your company's intranet.

您輕鬆地將取得 fast 及相關的結果與 SharePoint Server 中的標準搜尋中心。並若也內容確實了解在您的內部網路及了解如何人員將會搜尋其,可讓您真的更亮眼的搜尋中心。You'll easily get fast and relevant results with the standard Search Center in SharePoint Server. And if you also have a good understanding of the content on your intranet and know how people will be searching it, you can make your Search Center really shine.

整個這一系列中,我們會使用我們在 Microsoft 內容發佈小組使用搜尋文章和其他 MSDN、 TechNet 和 Office.com,我們已發佈的媒體搜尋中心的範例。因為我們知道內容,而且因為我們知道我們要尋找與我們想要為其搜尋的方式,我們已經能夠使其符合我們需求以及設定搜尋中心。Throughout this series, we'll use examples from a Search Center that we in the content publishing team at Microsoft use to search for articles and other media that we have published on MSDN, TechNet and Office.com. Because we know the content, and because we know what we want to find and how we want to search for it, we've been able to set up the Search Center so that it suits our needs well.

這是什麼空的搜尋中心外觀開始,以便在處理之前:This is what an empty Search Center looks like before you start to work on it:

空的搜尋中心

與這是什麼我們內容發佈的搜尋中心外觀之後我們設定它以符合我們的需求。以下,我們有搜尋"相關性,"只是做為範例。And this is what our content publishing Search Center looks like after we set it up to meet our needs. Here, we have searched for "relevance," just as an example.

關聯來源圖說文字

您可以看到我們取得顯示文章我們已發佈的結果與您也可以參閱我們已新增會對我們,例如作者編輯者有意義的精簡器。我們也新增數個搜尋頁面,或垂直搜尋區域,例如美工圖案以及Interop 。在此系列中,我們將為您示範如何您可以將搜尋類別的精簡器新增至您的搜尋中心] 中,但是我們一開始是實用性之前,以下是一些可協助您規劃您的搜尋中心的考量。You can see that we get results that show articles that we've published, and you can also see that we have added refiners that are meaningful to us, such as Writer and Editor . We also added several search pages, or search verticals, such as Art and Interop . In this series, we'll show you how you can add search verticals and refiners to your Search Center, but before we start the practicalities, here are some considerations to help you plan your Search Center.

內容和資訊種類位於內部網路?What kind of content and information is located on your intranet?

當您構思您的內部網路時,是否有人員可能想要以不同方式搜尋或與其他內容不同的內容?When you think about your intranet, is there content that people probably want to search differently or separate from other content?

例如,我們內容中發佈有不同的搜尋類別搜尋整個圖例的搜尋中心或我們使用我們文章中的 「 藝術 」 檔案。如此當我們想要查看是否我們已經有任何的伺服器陣列的圖例,我們類型 」 伺服器陣列 」 為我們在搜尋方塊中的查詢。我們可以在搜尋結果] 頁面上,按一下"藝術 」 檢視僅藝術結果的查詢。As an example, in our content publishing Search Center we have a separate search vertical to search through the illustrations, or "Art" files, that we use in our articles. So when we want to see whether we already have any illustrations of a server farm, we type "server farm" as our query in the search box. On the search results page, we can click "Art" to view only the art results for that query.

具有良好又一致的中繼資料標記的內容吗?Is the content tagged with good and consistent metadata?

設定搜尋中心會更加簡便如果內容條理和具有良好的中繼資料一致地標記。通常是值得編目之前它,使其人員更容易找到他們正在尋找的項目在搜尋中心演變內容品質的時間。Setting up your Search Center is much easier if content is well organized and consistently tagged with good metadata. It's often well worth investing time in content quality before you crawl it so that people can more easily find what they're looking for in the Search Center.

我們內容的發佈搜尋中心,我們使用 SharePoint 清單。我們發佈如文章或美工圖案,每個內容項目有其專屬的項目清單上。我們已進行確認透過對我們,例如協助決定文章適用於哪一個產品變體我們很重要的中繼資料一致地標示了所有項目。我們文章我們也有標題和簡短說明,我們會使用周圍的規則。我們正在擷取網站欄與網站欄值,這些中繼資料和我們已設定適用的搜尋中心,讓我們輕鬆可以使用下列值來改善搜尋結果上並快速找出完全我們要尋找的資訊。In our content publishing Search Center, we work with SharePoint lists. Each content item that we publish, such as an article or an art file, has its own entry on the list. We've made sure that all the entries are consistently tagged with metadata that is important to us, for example to help us determine which product variants an article applies to. For our articles we also have rules around the titles and short descriptions we use. We're capturing these metadata in site columns and site column values, and we have set up our Search Center so that we can easily use these values to refine on search results and quickly find exactly the information we're looking for.

誰可以與內部網路內容搭配使用?Who works with the intranet content?

某些內容可以獲益所搜尋分開或是有不同於其他內容。同樣地,它是相關的人員搜尋和其興趣之間的差異類別方面非常有用。例如,如果您在人力資源工作及搜尋 「 休假 」,可能要尋找與公司規則和法規周圍假日集相關的內容。如果您未在 HR 工作及搜尋 「 休假 」,您可能會想要尋找您可以在此記錄時正在離開或使用工具來關閉要求一天的 SharePoint 網站。Some content can benefit from being searched separately or differently than other content. Likewise, it is useful to think about the categories of people who search and how their interests differ. For example, if you work in Human Resources and you search for "vacation," you're probably looking for content related to the company's rules and regulations around holidays. If you don't work in HR and you search for "vacation," you probably want to find a SharePoint site where you can log when you're away or use a tool to request a day off.

您可以建立搜尋類別的搜尋中心顯示特別感興趣的特定組群的人,例如小組或部門的搜尋結果的子集。或者,您可以建立不同的搜尋中心。所有其取決於組織中使用的內部網路的人員: 思考搜尋的及如何您可以讓更容易它們發現相關。You can create search verticals in the Search Center to display subsets of the search results that are of particular interest for certain groups of people, such as teams or departments. Or, you can create separate Search Centers. It all depends on the people who use the intranet in your organization: think about what they are searching for and how you can make it easier for them to find it.

儲存在 SharePoint 中的大部分的內容Store most of the content in SharePoint

如果它是利用您的內部網路中的內容儲存在 SharePoint Server 因為 SharePoint 內容來源不同於其他所有搜尋的內容來源類型。It's an advantage if the content in your intranet is stored in SharePoint Server, because the SharePoint content source differs from all other types of content sources for search.

網站集合管理員有許多設定與內容儲存在 SharePoint 伺服器,例如新增新的 managed 的屬性與編輯現有的管理選項。如果您新增新的 managed 的屬性或對其進行特定變更,您必須重新編目內容。這是其中很有幫助具有 SharePoint 中的內容: 您可以重新編製索引個別 SharePoint 清單和文件庫而不需要以編目所有 SharePoint 內容。Site collection administrators have many configuration and management options for content that is stored in SharePoint Server, such as adding new managed properties and editing existing ones. If you add a new managed property or make certain changes to it, you have to recrawl the content. This is where it helps to have content in SharePoint: you can reindex individual SharePoint lists and libraries without having to crawl all SharePoint content.

此外的 SharePoint 內容來源是唯一可以持續編目的來源。當內容變更時,連續編目會偵測變更,並不需要等候,直到下一個累加或完整編目完成時。Also, the SharePoint content source is the only source that you can crawl continuously. When the content changes, a continuous crawl will detect the change and you don't have to wait until the next incremental or full crawl finishes.

關於如何一些單字搜尋運作A few words about how search works

您可以在搜尋中心顯示任何搜尋結果,您必須先編目的內容。之後編目、 內容及相關的中繼資料會處理並儲存為搜尋索引中的 managed 屬性。這是看起來像是下層面:Before you can show any search results in a Search Center, you have to crawl the content. After crawling, the content and related metadata are processed and stored as managed properties in the search index. This is what it looks like under the surface:

搜尋系統

  1. 我們內容會儲存在 SharePoint 清單和文件庫。我們使用網站欄來儲存每個項目相關的中繼資料。Our content is stored in SharePoint lists and libraries. We use site columns to store metadata about each item.

  2. 當我們編目的內容與中繼資料時、 資訊會處理及新增至搜尋索引。When we crawl the content and the metadata, the information is processed and added to the search index.

  3. 在搜尋索引中 managed 的屬性代表的內容和我們所編目的中繼資料。In the search index, managed properties represent the content and metadata that we crawled.

  4. 我們在我們的搜尋中心中輸入的查詢傳送到搜尋索引系統嘗試找出相符的結果。The queries that we enter in our Search Center are sent to the search index, where the system tries to find matching results.

  5. 任何相符的結果會顯示在搜尋中心搜尋結果網頁組件中。Any matching results are displayed in the Search Result Web Part in the Search Center.

在這一系列中,我們將為您示範如何您可以設定搜尋中心我們自己體驗的範例針對使用具有搜尋中心的內容發行者。此系列包括下列文章:In this series, we'll show you how you can set up your own Search Center by using examples from our own experience with the Search Center for content publishers. This series includes the following articles:

提示

相關的數列、如何變更 SharePoint Server 中的搜尋結果顯示的方式,增強了搜尋中心開發此系列中的範例。在此相關的數列我們為您示範如何變更搜尋結果的外觀。A related series, How to change the way search results are displayed in SharePoint Server, enhances the example Search Center developed in this series. In this related series, we show you how you can change the appearance of your search results.