在 SharePoint Server 中管理公司名稱擷取Manage company name extraction in SharePoint Server

摘要: 了解如何包含公司名稱以便從內容擷取以顯示在搜尋結果中,或是如何排除公司名稱以便不被擷取。Summary: Learn how to include company names to be extracted from content for search results, or how to exclude company names from being extracted.

搜尋系統可以從內容擷取公司名稱。必須符合下列條件,才能擷取公司名稱:The search system can extract company names from content. The following conditions must be met before company names can be extracted:

  • 在想要從中擷取公司名稱的 Managed 屬性上,必須啟用 Managed 屬性設定 Company name extraction 。一般而言,這會是您預計要包含這些實體的 Managed 屬性,例如 Managed 屬性 TitleBody 。系統會從相關聯 Managed 屬性的完整內容中擷取公司名稱,即使這些內容中的區段以 <no index> 標示也是一樣。The managed property setting Company name extraction must be enabled on the managed property that you want to extract company names from. Typically, this is a managed property that you expect to contain these entities, such as the managed properties Title or Body. Company names are extracted from the full contents of the managed property they are associated with, even if sections in those contents are tagged as <no index>.

  • 想要擷取的的公司名稱必須已經存在於預先填入的公司名稱字典中,或是應該包含於 Company Inclusions 清單內。The name of the company that you want to extract should either already exist in the prepopulated company name dictionary or it should be included in the Company Inclusions list.

  • 必須完成完整編目。A full crawl must be completed.

例如,如果在文件內文中找到公司名稱、Managed 屬性 Body 上已啟用 company name extraction 且已經執行過完整編目,就會擷取公司名稱並對應到 Managed 屬性 companies 。接著您可以使用 companies Managed 屬性,根據擷取的公司名稱在搜尋結果頁面上「精簡搜尋」網頁組件中建立精簡器。For example, if a company name is found in the body of a document, company name extraction is enabled on the managed property Body and a full crawl has been run, the company name is extracted and mapped to the managed property companies. You can then use the companies managed property to create refiners based on the extracted company name in the Refinement Web Part on the search results page.

有個已預先填入的字典可供擷取公司名稱,其中包含大量的公司名稱。您可以在 [公司包含項目] 或 [公司排除項目] 清單中,新增更多要擷取的公司名稱或是防止擷取特定的公司名稱。There is a prepopulated dictionary for company name extraction which includes a large number of company names. You can add additional company names to be extracted or prevent particular company names from being extracted using the Company Inclusions or Company Exclusions lists.

本文說明如何維護這些清單。文中並不討論如何啟用 Managed 屬性來使用公司擷取。如需如何在 Managed 屬性上啟用公司擷取的詳細資訊,請參閱<在 SharePoint Server 中管理搜尋結構描述>。This article explains how to maintain these lists. It does not cover how to enable a managed property to use company extraction. For more information on how to enable company extraction on a managed property, see Manage the search schema in SharePoint Server.

開啟字詞庫管理工具Open the Term Store Management Tool

公司名稱排除及包含清單是在字詞庫中加以管理的。請使用字詞庫管理工具來編輯清單。The company name exclusion and inclusion lists are managed in the Term Store. Use the Term Store Management Tool to edit the lists.

移至字詞庫管理工具To get to the Term Store Management Tool

  1. 確認執行此程序的使用者帳戶是否為 Search Service 應用程式的管理員。Verify that the user account that is performing this procedure is an administrator for the Search service application.

  2. 在 SharePoint 管理中心網站首頁上,按一下 [應用程式管理]**** 區段中的 [管理服務應用程式]*On the home page of the Central Administration website, in the *Application Management section, click Manage service applications.

  3. 在 [管理服務應用程式] 頁面上,按一下 Search Service 應用程式。On the Manage Service Applications page, click the Search service application.

  4. 在 [搜尋管理] 頁面上的 [查詢與結果]**** 區段上,按一下 [搜尋字典]*。字詞庫管理工具隨即開啟。On the Search Administration Page, in the *Queries and Results section, click Search Dictionaries. The Term Store Management Tool opens.

排除公司名稱Exclude company names

若要排除公司名稱不被從內容擷取為實體,請將公司名稱新增至「公司排除」清單。To exclude company names from being extracted as entities from content, add the company name to the Company Exclusions list.

將公司名稱新增至「公司排除」清單To add a company name to the Company Exclusions list

  1. 在 [網站設定:字詞庫管理工具] 頁面上,按一下箭頭以展開 [搜尋字典]**** 功能表。On the Site Settings: Term Store Management Tool page, click the arrow to expand the Search Dictionaries menu.

  2. 按一下 [公司排除],按一下箭頭,然後按一下 [建立字詞]*Click Company Exclusions, click the arrow and then click *Create Term.

  3. 在出現的方塊中輸入想要排除的公司名稱。Type the name of the company that you want to exclude in the box that appears.

  4. 按一下頁面上任一處,將字詞新增至「公司排除」清單。Click anywhere on the page to add the term to the Company Exclusions list.

包含公司名稱Include company names

若要包含公司名稱使其從內容擷取為實體,請將公司名稱新增至「公司包含」清單。To include company names to be extracted as entities from content, add the company name to the Company Inclusions list.

將公司名稱新增至「公司包含」清單To add a company name to the Company Inclusions list

  1. 在 [網站設定:字詞庫管理工具] 頁面上,按一下箭頭以展開 [搜尋字典]**** 功能表。On the Site Settings: Term Store Management Tool page, click the arrow to expand the Search Dictionaries menu.

  2. 按一下 [公司包含],按一下箭頭,然後按一下 [建立字詞]*Click Company Inclusions, click the arrow and then click *Create Term.

  3. 在出現的方塊中輸入想要包含的公司名稱。Type the name of the company that you want to include in the box that appears.

  4. 按一下頁面上任一處,將字詞新增至「公司包含」清單。Click anywhere on the page to add the term to the Company Inclusions list.

編輯字詞Edit terms

您可以編輯「公司排除」和「公司包含」清單中的字詞名稱。You can edit the names of terms in the Company Exclusions and Company Inclusions lists.

編輯字詞To edit terms

  1. 在 [網站設定:字詞庫管理工具] 頁面上,按一下箭頭以展開 [搜尋字典]**** 功能表。On the Site Settings: Term Store Management Tool page, click the arrow to expand the Search Dictionaries menu.

  2. 根據字詞所在的清單,按一下 [公司排除]**** 或 [公司包含]*Depending on which list the term is in, click either *Company Exclusions or Company Inclusions.

  3. 按兩下您要編輯的字詞。Double-click the term that you want to edit.

  4. 輸入該字詞的新名稱。Type the new name for the term.

  5. 按一下頁面上任一處,儲存編輯好的字詞。Click anywhere on the page to save the edited term.