在 SharePoint Server 中管理搜尋結構描述Manage the search schema in SharePoint Server

摘要: 了解如何檢視、新增、編輯、對應以及刪除搜尋結構描述中的編目屬性、編目屬性類別及 Managed 屬性。Summary: Learn how to view, add, edit, map, and delete crawled properties, crawled property categories and managed properties in the search schema.

SharePoint Server 中的搜尋結構描述會決定內容如何在 SharePoint Server 中的搜尋索引進行收集和擷取。The search schema in SharePoint Server determines how content is collected in and retrieved from the search index in SharePoint Server.

編目屬性是在編目內容時從其中擷取的中繼資料。中繼資料可以是結構化內容 (例如 Word 文件中的標題或作者),或是非結構化內容 (例如偵測的語言或擷取的關鍵字)。Crawled properties are metadata that is extracted from content during crawls. Metadata can be structured content (such as the title or the author from a Word document), or unstructured content (such as a detected language or extracted keywords).

您可以透過將編目屬性對應至 Managed 屬性,來決定要編輯索引的編目中繼資料。使用者只能搜尋 Managed 屬性。您可以將多個編目屬性對應至單一 Managed 屬性,或將單一編目屬性對應至多個 Managed 屬性You decide which crawled metadata to index by mapping the crawled property to a managed property. Users can only search on managed properties. You can map multiple crawled properties to a single managed property or map a single crawled property to multiple managed properties.

重要

本文中的步驟適用於 SharePoint Server 與管理中心兩者,除非另有指定。The steps in this article apply to SharePoint Server and use the Central Administration, unless specified otherwise.

開始之前Before you begin

開始這項作業之前,請參閱下列有關先決條件的資訊:Before you begin this operation, review the following information about prerequisites:

  • 建立 Search Service 應用程式。Create a Search service application.

  • 新增一或多個內容來源並執行完整編目。Add one or more content sources and run a full crawl.

檢視編目屬性與 Managed 屬性To view crawled properties and managed properties

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

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

  3. 按一下 [Search Service 應用程式]。Click the Search service application.

  4. 在「搜尋管理」頁面的 [快速啟動] 中,按一下 [查詢與結果] 底下的 [搜尋結構描述]。On the Search Administration page, in the Quick Launch, under Queries and Results, click Search Schema.

  5. 在「Managed 屬性」頁面上,您會看到所有 Managed 屬性的概觀、Managed 屬性上的設定以及它們所對應的編目屬性。若要檢視編目屬性,請按一下 [編目屬性]。若要檢視編目屬性類別,請按一下 [類別]。On the Managed Properties page, you see an overview of all the managed properties, the settings on the managed properties and the crawled properties they are mapped to. To view crawled properties, click Crawled Properties. To view crawled property categories, click Categories.

新增 Managed 屬性To add a managed property

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

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

  3. 按一下 [Search Service 應用程式]。Click the Search service application.

  4. 在「搜尋管理」頁面的 [快速啟動] 中,按一下 [查詢與結果] 底下的 [搜尋結構描述]。On the Search Administration page, in the Quick Launch, under Queries and Results, click Search Schema.

  5. 在「Managed 屬性」頁面上,按一下 [新增 Managed 屬性]。On the Managed Properties page, click New Managed Property.

  6. 在「新增 Managed 屬性」頁面中,於 [名稱與描述] 區段的 [屬性名稱] 方塊中,輸入新 Managed 屬性的名稱。您也可以輸入描述。On the New Managed Property page, in the Property name box in the Name and description section, enter the name of the new managed property. You can also enter a description.

  7. 在 [類型] 區段中,選取屬性的下列其中一個選項:In the Type section, select one of the following options for the property:

    • 文字Text

    • 整數Integer

    • 小數Decimal

    • 日期及時間Date and Time

    • 是/否Yes/No

    • 雙精確度浮點數Double precision float

    • 二進位Binary

  8. 在 [主要特性] 區段中,選取下列其中一或數個選項:In the Main characteristics section, select one or several of the following:

    • 可搜尋Searchable

    • Advanced Searchable Settings (選用,如果選取了 Searchable)Advanced Searchable Settings (optional, if Searchable is selected)

    • 可查詢Queryable

    • 可擷取Retrievable

    • 允許多個值Allow multiple values

    • 可精簡Refinable

    • 可排序Sortable

    • 別名Alias

    • Token 正規化Token Normalization

    • 完全相符Complete Matching

    重要

    如果希望能夠將這個 Managed 屬性當做精簡器,必須同時選取 Refinable 與 Queryable。If you want to be able to use this managed property as a refiner, you must select both Refinable and Queryable.

  9. 按一下 [對應至編目屬性] 區段中的 [新增對應]。In the Mappings to crawled properties section, click Add a mapping.

  10. 在「編目屬性選取」頁面上,選取要對應至 Managed 屬性的編目屬性,然後按一下 [確定]。重複此步驟,對應更多編目屬性。On the Crawled property selection page, select a crawled property to map to the managed property and then click OK. Repeat this step to map more crawled properties.

  11. 在「新增 Managed 屬性」頁面上的 [對應至編目屬性] 區段中,指定想要包含的項目:On the New Managed Property page, in the Mappings to crawled properties section, specify if you want to include:

    • 與此 Managed 屬性對應之所有編目屬性中的全部內容All content from all crawled properties mapped to this managed property

    • 第一個包含值以及 (選擇性) 順序的編目屬性的內容。Content from the first crawled property that contains a value and, optionally, in which order.

  12. 在 [公司名稱擷取]**** 區段中,可以選擇性地選取啟用公司名稱擷取的核取方塊。In the Company name extraction section, you can optionally select the check box to enable company name extraction.

  13. 在 [自訂實體擷取]**** 區段中,可以選擇性地選取啟用自訂實體擷取的核取方塊。如需相關程序,請參閱在 SharePoint Server 中建立及部署自訂實體擷取器In the Custom entity extraction section, you can optionally select the check box to enable custom entity extraction. See Create and deploy custom entity extractors in SharePoint Server 2016 for the procedures.

  14. 按一下 [確定]*Click *OK.

您必須對包含這個新 Managed 屬性的一或多個內容來源執行完整編目,以將此屬性加入搜尋索引中。若新的 Managed 屬性位於 SharePoint Server 文件庫或清單中,您必須為該文件庫或清單重新編製索引。如需詳細資訊,請參閱<SharePoint Server 2016 中的搜尋結構描述概觀>。You have to perform a full crawl of the content source or sources that contain this new managed property to include it in the search index. If the new managed property is in a SharePoint Server library or list, you have to reindex that library or list.For more information see, Overview of the search schema in SharePoint Server 2016.

編輯 Managed 屬性To edit a managed property

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

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

  3. 按一下 [Search Service 應用程式]。Click the Search service application.

  4. 在「搜尋管理」頁面的 [快速啟動] 中,按一下 [查詢與結果] 底下的 [搜尋結構描述]。On the Search Administration page, in the Quick Launch, under Queries and Results, click Search Schema.

  5. 在「Managed 屬性」頁面中,找到您想要編輯的 Managed 屬性,或是在 [篩選] 方塊中輸入屬性名稱。On the Managed Properties page, find the managed property that you want to edit, or enter its name in the Filter box.

  6. 指向您想要編輯的 Managed 屬性,按一下箭號,再按一下 [編輯/對應屬性]。Point to the managed property that you want to edit, click the arrow, and then click Edit/Map property.

  7. 在 [編輯 Managed 屬性] 頁面上,編輯設定,然後按一下 [確定]*On the Edit Managed Property page, edit the settings and then click *OK.

Managed 屬性設定的某些變更必須經過完整編目後才會生效。若想大致了解哪些變更必須在重新編製內容的索引後才會生效,請參閱需要為內容重新編製索引的搜尋結構描述變更表格。Some changes on managed property settings require a full crawl to take effect. See the table Search schema changes that require content to be reindexed for an overview of which changes require you to reindex the content.

刪除 Managed 屬性To delete a managed property

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

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

  3. 按一下 [Search Service 應用程式]。Click the Search service application.

  4. 在「搜尋管理」頁面的 [快速啟動] 中,按一下 [查詢與結果] 底下的 [搜尋結構描述]。On the Search Administration page, in the Quick Launch, under Queries and Results, click Search Schema.

  5. 在「Managed 屬性」頁面中,找到您想要刪除的 Managed 屬性,或是在 [篩選] 方塊中輸入屬性名稱。On the Managed Properties page, find the managed property that you want to delete, or enter its name in the Filter box.

  6. 指向您想要刪除的 Managed 屬性,按一下箭號,再按一下 [刪除]。Point to the managed property that you want to delete, click the arrow, and then click Delete.

  7. 按一下 [確定]*Click *OK.

如果您刪除 Managed 屬性:使用者便無法再使用這個屬性執行查詢。使用這個屬性的查詢規則將無法再運作。使用這個屬性的自訂搜尋應用程式或網頁組件也將無法再運作。若要從搜尋索引中刪除這個屬性,您必須執行完整編目。如果已刪除的屬性位於 SharePoint Server 文件庫或清單中,您必須為該文件庫或清單重新編製索引。If you delete a managed property:Users can no longer run queries using this property.A query rule that uses this property no longer works.A custom search application or web part that uses this property no longer works.To delete this property from the search index, you'll have to perform a full crawl. If the deleted property was in a SharePoint Server library or list, you'll have to reindex that library or list.

將編目屬性對應至 Managed 屬性To map a crawled property to a managed property

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

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

  3. 按一下 [Search Service 應用程式]。Click the Search service application.

  4. 在「搜尋管理」頁面的 [快速啟動] 中,按一下 [查詢與結果] 底下的 [搜尋結構描述]。On the Search Administration page, in the Quick Launch, under Queries and Results, click Search Schema.

  5. 在「編目屬性」頁面中,找到您想要對應至 Managed 屬性的編目屬性,或是在 [篩選] 方塊中輸入屬性名稱。On the Crawled Properties page, find the crawled property that you want to map to a managed property, or enter its name in the Filters box.

  6. 指向您想要對應的編目屬性,按一下箭號,再按一下 [編輯/對應屬性]。Point to the crawled property that you want to map, click the arrow, and then click Edit/Map property.

  7. 在「編輯編目屬性」頁面的 [對應至 Managed 屬性] 區段中,按一下 [新增對應]。On the Edit Crawled Property page, in the Mappings to managed properties section, click Add a Mapping.

  8. 在「Managed 屬性選取」頁面上,選取要對應至編目屬性的一個 Managed 屬性,然後按一下 [確定]。重複此步驟,將更多 Managed 屬性對應至此編目屬性。On the Managed property selection page, select one managed property to map to the crawled property and then click OK. Repeat this step to map more managed properties to this crawled property.

  9. 在 [包含在全文檢索索引中] 區段中,選取是否將此編目屬性的內容包含在全文檢索索引內的核取方塊。In the Include in full-text index section, check the box if you want to include the content of this crawled property in the full-text index.

  10. 在 [編輯編目屬性] 頁面上,按一下 [確定]*On the Edit Crawled Property page, click *OK.

您必須對包含編目屬性 (已對應至 Managed 屬性) 的內容來源執行完整編目,新對應才會生效。若這是 SharePoint Server 文件庫或清單的新對應,您必須為該文件庫或清單重新編製索引。You have to perform a full crawl of the content source that includes the crawled property that you've mapped to a managed property for the new mapping to take effect. If the new mapping is for a SharePoint Server library or list, you have to reindex that library or list.

檢視或編輯編目屬性類別To view or edit crawled property categories

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

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

  3. 按一下 [Search Service 應用程式]。Click the Search service application.

  4. 在「搜尋管理」頁面的 [快速啟動] 中,按一下 [查詢與結果] 底下的 [搜尋結構描述]。On the Search Administration page, in the Quick Launch, under Queries and Results, click Search Schema.

  5. 在 [類別] 頁面上,找到您要檢視或編輯的編目屬性類別。On the Categories page, find the crawled property category that you want to view or edit.

    • 若要 檢視 哪些編目屬性屬於某個類別,以及它們所對應的 Managed 屬性,在 [類別] 頁面上按一下某個編目屬性類別。To view which crawled properties belong to a category, and which managed properties they are mapped to, click the crawled property category in the Categories page.

    • 若要編輯類別,請指向您想要編輯的編目屬性類別,按一下箭號,再按一下 [編輯類別]*To *edit a category, point to the crawled property category that you want to edit, click the arrow, and then click Edit category.

    警告

    若您編輯了編目屬性類別,這些變更會套用至該類別內的所有編目屬性。若變更了編目屬性,類別可能會影響效能以及項目在搜尋索引中的儲存方式。您也必須為內容重新編製索引。If you edit a crawled property category, your changes apply to all of the crawled properties within the category. Changing a crawled property category can influence performance and how items are saved in the search index. You also have to reindex the content.

使用承租人管理或網站集合管理新增 Managed 屬性Add a managed property using tenant administration or site collection administration

承租人系統管理員及網站集合管理員可以建立其承租人或網站集合的搜尋結構描述。如需如何管理承租人與網站集合搜尋結構描述的詳細資訊,請參閱在 SharePoint Online 中管理搜尋結構描述Tenant administrators and site collection administrators can create a search schema that is specific for their tenant or site collection. For more information how to manage the search schema for tenants and site collections, see Manage the search schema in SharePoint Online.

您可以為承租人或網站集合建立 Managed 屬性,並將編目屬性與之對應。或者,您可以重複使用現有的、未使用的、且沒有任何編目屬性與其對應的 Managed 屬性,然後使用 Alias 重新命名這些屬性。接下來,您必須將編目屬性對應至已定義 Alias 的重新命名過的 Managed 屬性。You can create new managed properties for a tenant or a site collection and map crawled properties to them. Alternatively, you can reuse existing, unused managed properties that do not have crawled properties mapped to them, and rename them using an Alias. Then, you must map crawled properties to the renamed managed property with the defined alias.

當您在租用戶或網站集合管理中建立 Managed 屬性時,會受到一些限制。例如,屬性只能是 [ Text ] 或 [ Yes/No ] 類型,而不能是可精簡搜尋的或可排序的。如果您須使用不同的屬性類型,或與可用屬性不同特徵的屬性,請遵循< 重新命名現有屬性,以建立 Managed 屬性>下的步驟進行。When you create a new managed property in the tenant or site collection administration, there are some limitations. For example, the property can only be of type Text or Yes/No, and it can't be refinable or sortable. If you need a property of a different type, or one that has different characteristics than what is available, follow the steps under To create a managed property by renaming an existing one.

當您將新屬性新增至 SharePoint Server 網站上的清單或文件庫後,或是變更清單或文件庫中使用的屬性後,必須重新編目內容,您的變更才會反映在搜尋索引中。由於您的變更是在搜尋結構描述中進行的,而不是對實際網站進行變更,因此編目程式並不會自動為清單或文件庫重新編製索引。若要確保會對您的變更進行編目及重新編製索引,您可以明確要求為清單或文件庫重新編製索引。提出此要求後,清單或文件庫內容將會重新編目並重新編製索引,如此您即可開始在查詢、查詢規則與顯示範本中使用新的 Managed 屬性。When you have added a new property to a list or to a library on a SharePoint Server site, or when you have changed properties that are used in a list or library, the content must be re-crawled before your changes will be reflected in the search index. Because your changes are made in the search schema, and not to the actual site, the crawler will not automatically reindex the list or the library. To make sure that your changes are crawled and reindexed, you can specifically request a reindexing of the list or library. When you do this, the list or library content will be recrawled and reindexed so that you can start using your new managed properties in queries, query rules and display templates.

若想大致了解哪些 Managed 屬性設定變更必須在重新編製內容的索引後才會生效,請參閱需要為內容重新編製索引的搜尋結構描述變更表格。See the table Search schema changes that require content to be reindexed for an overview of which managed property setting changes require you to reindex the content.

建立承租人或網站集合的 Managed 屬性To create a managed property for a tenant or a site collection

  1. 確認執行此程序的使用者帳戶是承租人或網站集合的管理員。Verify that the user account that is performing this procedure is an administrator for the tenant or for the site collection.

  2. 移至租用戶或網站集合的 [搜尋結構描述]**** 頁面。Go to the Search Schema page for the tenant or for a site collection.

    • 租用戶請登入 Office 365 管理中心,然後選擇 [管理] > [SharePoint]*。您現在位於 SharePoint 系統管理中心。按一下 [搜尋],然後在搜尋管理頁面上按一下 [管理搜尋結構描述]***。For the tenant, sign in to the Office 365 Admin Center. Then, choose Admin > SharePoint. You're now in the SharePoint admin center. Click search, and then on the search administration page, click Manage Search Schema.

    • 針對網站集合,在您的網站上,移至 [設定]*,按一下 [網站設定],然後按一下 [網站集合管理]*** 之下的 [搜尋結構描述]*For the site collection, on your site, go to *Settings, click Site settings and then under Site Collection Administration, click Search Schema.

  3. 在 [Managed 屬性] 頁面上,按一下 [新增 Managed 屬性]*On the Managed Properties page, click *New Managed Property.

  4. 在「新增 Managed 屬性」頁面中,於 [名稱與描述] 區段的 [屬性名稱] 方塊中,輸入新 Managed 屬性的名稱。您也可以輸入描述。On the New Managed Property page, in the Property name box in the Name and description section, enter the name of the new managed property. You can also enter a description.

  5. 在 [類型] 區段中,選取屬性的下列其中一個選項:In the Type section, select one of the following options for the property:

    • 文字Text

    • 是/否Yes/No

  6. 在 [主要特性] 區段中,選取下列其中一或數個選項:In the Main characteristics section, select one or several of the available options.

  7. 按一下 [對應至編目屬性] 區段中的 [新增對應]。In the Mappings to crawled properties section, click Add a mapping.

  8. 在「編目屬性選取」頁面上,選取要對應至 Managed 屬性的編目屬性,然後按一下 [確定]。重複此步驟,對應更多編目屬性。On the Crawled property selection page, select a crawled property to map to the managed property and then click OK. Repeat this step to map more crawled properties.

  9. 在「新增 Managed 屬性」頁面上的 [對應至編目屬性] 區段中,指定想要包含的項目:On the New Managed Property page, in the Mappings to crawled properties section, specify if you want to include:

    • 與此 Managed 屬性對應之所有編目屬性中的全部內容All content from all crawled properties mapped to this managed property

    • 第一個包含值以及 (選擇性) 順序的編目屬性的內容。Content from the first crawled property that contains a value and, optionally, in which order.

  10. 按一下 [確定]*Click *OK.

重新命名現有屬性,以建立 Managed 屬性To create a managed property by renaming an existing one

  1. 確認執行此程序的使用者帳戶是租用戶或網站集合的管理員。Verify that the user account that is performing this procedure is an administrator for the tenant or for the site collection.

  2. 移至租用戶或網站集合的 [搜尋結構描述]**** 頁面。Go to the Search Schema page for the tenant or for a site collection.

    • 租用戶請登入 Office 365 管理中心,然後選擇 [管理] > [SharePoint]*。您現在位於 SharePoint 系統管理中心。按一下 [搜尋],然後在搜尋管理頁面上按一下 [管理搜尋結構描述]***。For the tenant, sign in to the Office 365 Admin Center. Then, choose Admin > SharePoint. You're now in the SharePoint admin center. Click search, and then on the search administration page, click Manage Search Schema.

    • 針對網站集合,在您的網站上,移至 [設定]*,按一下 [網站設定],然後按一下 [網站集合管理]*** 之下的 [搜尋結構描述]*For the site collection, on your site, go to *Settings, click Site settings and then under Site Collection Administration, click Search Schema.

  3. 在 [Managed 屬性] 頁面上,找到未使用的 Managed 屬性。所謂「未使用的」,是指未對應至編目屬性的屬性:[對應的編目屬性]**** 欄為空白。請參閱預設未使用的 Managed 屬性表格,以取得更多資訊。請指向 Managed 屬性,按一下箭號,然後按一下 [編輯/對應屬性]*On the Managed Properties page, find an unused managed property. By unused, we mean that the property is not mapped to a crawled property: the *Mapped Crawled Properties column is empty. See the Default unused managed properties table for more details. Point to the managed property, click the arrow, and then click Edit/Map property.

  4. 在 [編輯 Managed 屬性] 頁面的 [主要特性] 區段中,於 [別名]**** 下的欄位中輸入一個名稱。On the Edit Managed Property page, in the Main characteristics section, under Alias, enter a name in the field.

  5. 按一下 [對應至編目屬性] 區段中的 [新增對應]。In the Mappings to crawled properties section, click Add a mapping.

  6. 在「編目屬性選取」頁面上,選取要對應至 Managed 屬性的一個編目屬性,然後按一下 [確定]。重複此步驟,將更多編目屬性對應至此 Managed 屬性。On the Crawled property selection page, select a crawled property to map to the managed property and then click OK. Repeat this step to map more crawled properties to this managed property.

  7. 按一下 [確定]*Click *OK.

為清單或文件庫重新編製索引To reindex a list or library

  1. 確認執行此程序的使用者帳戶是承租人或網站集合的管理員。Verify that the user account that is performing this procedure is an administrator for the tenant or for the site collection.

  2. 瀏覽至您要重新編目的清單或文件庫,然後執行下列其中一項動作:Browse to the list or library that you want to recrawl, and then do one of the following:

    • 若您要對文件庫執行完整編目,請按一下 [文件庫] 索引標籤,然後在功能區的 [設定] 群組按 [文件庫設定]。If you want to perform a full crawl of a library, click the LIBRARY tab, and then, on the ribbon, in the Settings group, click Library Settings.

    • 若您要對清單執行完整編目,請按一下 [清單] 索引標籤,然後在功能區的 [設定] 群組按 [清單設定]。If you want to perform a full crawl of a list, click the LIST tab, and then, on the ribbon, in the Settings group, click List Settings.

  3. 在 [設定] 頁面的 [一般設定] 區段中,按一下 [進階設定]。On the Settings page, in the General Settings section, click Advanced settings.

  4. 在 [進階設定] 頁面上:On the Advanced Settings page:

    • 若您要為文件庫重新編製索引:在 [為文件庫重新編製索引] 區段中,按一下 [為文件庫重新編製索引]。If you want to reindex a library: in the Reindex Library section, click Reindex Document Library.

    • 若您要為清單重新編製索引:在 [為清單重新編製索引] 區段中,按一下 [為清單重新編製索引]。If you want to reindex a list: in the Reindex List section, click Reindex List.

  5. 按一下 [確定]*Click *OK.

清單或文件庫將會在下一個排程編目期間執行完整的重新索引。The full reindex of the list or library will be performed during the next scheduled crawl.

預設未使用的 Managed 屬性Default unused managed properties

下表提供預設未使用 Managed 屬性的概觀,這些屬性可以重複使用並可以使用 Alias 重新命名。The following table provides an overview of the default unused managed properties that you can reuse and rename using an Alias.

Managed 屬性類型Managed property type 數目Count Managed 屬性特性Managed property characteristics Managed 屬性名稱範圍Managed property name range
日期Date 1010. 可查詢Queryable Date00 到 Date09Date00 to Date09
日期Date 2020% 多值、可查詢、可精簡、可排序、可擷取Multivalued, Queryable, Refinable, Sortable, Retrievable RefinableDate00 到 RefinableDate19RefinableDate00 to RefinableDate19
小數Decimal 1010. 可查詢Queryable Decimal00 到 Decimal09Decimal00 to Decimal09
小數Decimal 1010. 多值、可查詢、可精簡、可排序、可擷取Multivalued, Queryable, Refinable, Sortable, Retrievable RefinableDecimal00 到 RefinableDecimal09RefinableDecimal00 to RefinableDecimal09
雙精度浮點數Double 1010. 可查詢Queryable Double00 到 Double09Double00 to Double09
雙精度浮點數Double 1010. 多值、可查詢、可精簡、可排序、可擷取Multivalued, Queryable, Refinable, Sortable, Retrievable RefinableDouble00 到 RefinableDouble09RefinableDouble00 to RefinableDouble09
整數Integer 5050% 可查詢Queryable Int00 到 Int49Int00 to Int49
整數Integer 5050% 多值、可查詢、可精簡、可排序、可擷取Multivalued, Queryable, Refinable, Sortable, Retrievable RefinableInt00 到 RefinableInt49RefinableInt00 to RefinableInt49
字串String 100100% 多值、可查詢、可精簡、可排序、可擷取Multivalued, Queryable, Refinable, Sortable, Retrievable RefinableString00 到 RefinableString99RefinableString00 to RefinableString99

如何使用別名:範例How to use an Alias: an example

假設您想要建立包含員工編號的 Managed 屬性,且要讓使用者能夠藉由輸入 "EmployeeID:12345" (其中,"12345" 是範例員工編號) 來搜尋這些編號。由於此 Managed 屬性並不屬於 文字是/否 類型,因此您會依照 以重新命名現有 Managed 屬性的方式建立 Managed 屬性中的步驟進行輸入:Say that you want to create a managed property that contains employee numbers, and you want users to be able to search for these by typing "EmployeeID:12345", where "12345" is an example employee number. As this managed property is not of the type Text or Yes/No, you'll follow the steps in To create a managed property by renaming an existing one with this input:

  • 選擇屬於 整數 類型、且未使用的 Managed 屬性;請參閱 預設未使用的 Managed 屬性。若您只想讓使用者能夠查詢員工編號,請使用 Int00Int49 之間任何未使用的屬性;若您要讓使用者能夠對員工編號進行查詢、精簡、排序等作業,請使用 RefinableInt00RefinableInt49 之間的屬性。Choose an unused managed property of the type integer, see the table Default unused managed properties. Use any unused property from Int00 to Int49 if you only want users to be able to query on the employee number, or from RefinableInt00 to RefinableInt49 if you want users to be able to query, refine, sort etc. on employee number.

  • 為此屬性指定別名,在此範例中為 EmployeeIDGive the property an Alias, in this example EmployeeID.

  • EmployeeID 屬性對應至包含員工編號的編目屬性。Map the EmployeeID property to the crawled property that contains the employee numbers.

需要為內容重新編製索引的搜尋結構描述變更Search schema changes that require content to be reindexed

Managed 屬性設定Managed property setting 動作Action 必須完整編目以重新編製索引Requires a full crawl to reindex
將編目屬性對應至 Managed 屬性Mapping a crawled to a managed property 新增/刪除對應Add/Delete mapping Yes
Token 正規化Token normalization 啟用/停用Enable/Disable Yes
完全相符Complete matching 啟用/停用Enable/Disable Yes
公司名稱擷取Company name extraction 啟用/停用Enable/Disable Yes
自訂實體擷取Custom entity extraction 啟用/停用Enable/Disable Yes
可搜尋Searchable 啟用/停用Enable/Disable Yes
可查詢Queryable 啟用Enable Yes
可查詢Queryable 停用Disable No
可擷取Retrievable 啟用Enable Yes
可擷取Retrievable 停用Disable No
可精簡Refinable 啟用 (若還不是可排序)Enable (if not already Sortable) Yes
可精簡Refinable 停用Disable No
可排序Sortable 啟用 (若還不是可精簡)Enable (if not already Refinable) Yes
可排序Sortable 停用Disable No
別名Alias 新增/刪除Add/Delete No