階段 13: 計劃要用於 SharePoint Server-第 ii 部分中的多層面導覽的精簡器Stage 13: Plan to use refiners for faceted navigation in SharePoint Server - Part II

摘要:了解如何規劃使用 SharePoint Server 2016 中的多層面導覽的精簡器。Summary: Learn how to plan to use refiners for faceted navigation in SharePoint Server 2016.

注意

大部分的這一系列中所述的功能是僅適用於 SharePoint Online 中的私人每個網站集合。Most of the features described in this series are available only for private sites collections in SharePoint Online.

快速概觀 (英文)Quick Overview

階段 12: 規劃使用 SharePoint Server-第一部中的多層面導覽的精簡器我們所識別的精簡器我們想要使用的多層面導覽],並決定我們想要顯示的精簡器值的方式。In Stage 12: Plan to use refiners for faceted navigation in SharePoint Server - Part I we identified the refiners we want to use for faceted navigation, and determined how we want the refiner values to be displayed.

在本文中,您將了解:In this article, you'll learn:

啟動階段 13Start stage 13

啟用 managed 的屬性設為可精簡搜尋的 managed 的屬性的相關About enabling a managed property to be a refinable managed property

最先進行的設定多面向導覽的精簡器時必須執行動作是要讓您想要做為精簡器新增到是可精簡搜尋的 managed 屬性的 managed 的屬性。The first thing that you must do when you configure refiners for faceted navigation is to enable the managed properties that you want to use as refiners to be refinable managed properties.

根據您的權限層級,您可以這麼從兩個位置:Depending on your permission level, you can do this from two places:

精選啟用從 managed 的屬性To refine-enable a managed property from 需要的權限等級Requires permission level
管理中心Central Administration
Search Service 應用程式管理員Search service application administrator
網站集合管理Site Collection Administration
網站集合管理員Site collection administrator

是您可以這麼做從兩個位置的理由: 如果您正在處理目錄內容 (假設您是內容管理員)、 您可能性 Search service 應用程式管理層級權限] 下,也就是您將不會有管理中心存取權。但是,都很有可能具有網站集合管理員權限。There's a reason you can do this from two places: if you are working with catalog content (let's say you're a content manager), you are unlikely to have Search service application administration level rights, that is, you won't have access to Central Administration. But, you are very likely to have Site collection administrator permissions.

如何啟動目錄重新索引所述的方式內容管理員可以輕鬆地將內容新增至搜尋索引沒有 Search service 應用程式管理員的協助。所以既然所有人為高興,我們不想要讓內容管理員取決於 Search service 應用程式管理員啟用精簡器危及此快樂。How to initiate a reindexing of the catalog explained how content managers can easily add content to the search index without the help of a Search service application administrator. So now that everyone's happy, we don't want to jeopardize this happiness by making content managers dependent on a Search service application administrator to enable refiners.

本文說明網站集合管理員 (內容管理員) 會執行此程序。如需如何 Search service 應用程式管理員可以啟用 managed 的屬性設為可精簡搜尋的 managed 的屬性,請參閱設定精簡器 」 和 「 SharePoint Server 中的多層面導覽This article describes the procedure as it would be performed by a Site collection administrator (content manager). For information on how Search service application administrators can enable managed properties to be refinable managed properties, see Configure refiners and faceted navigation in SharePoint Server.

關於精簡器啟用的 managed 屬性About refiner-enabled managed properties

開頭,我們所述:""最先進行的設定精簡器啟用的 managed 的屬性是多面向導覽時必須執行動作您 * 想要做為精簡器新增到可精簡搜尋是受管理屬性。"* 網站集合管理員 (內容經理) 無法實際執行這項操作因為它們不必要的權限層級。但是,有要編目的屬性對應到精簡器啟用的 managed 屬性的權限層級。At the beginning, we stated: ""The first thing that you must do when you configure refiners for faceted navigation is to enable the managed properties that you * want to use as refiners to be refinable managed properties." * Site collection administrators (content managers) can't actually do this because they don't have the required permission level. But, they have the permission level to map a crawled property to a refiner-enabled managed property.

這看起來可能會困惑。讓我們看更為它。This might seem a bit confusing. Let's look somewhat more into it.

搜尋服務應用程式管理員,負責有管理中心存取權,可以直接在 managed 屬性上設定許多事項。例如,下列螢幕擷取畫面顯示他們可以如何變更名為RedBrandRefinable ] 功能表中選取[Yes-active,或是-潛伏為可精簡搜尋的屬性。Search service application administrators, who have access to Central Administration, can configure many things directly on a managed property. For example, the following screen shot shows how they can change the property named RedBrand to be refinable by selecting either Yes - active, or Yes - latent from the Refinable menu.

SSA 編輯屬性

如果我們查看網站集合管理員,網站集合層級上設定屬性,人員觀點相同屬性的屬性名稱變為,不僅Refinable功能表已鎖定。If we look at the same property from the perspective of a Site collection administrator, who is configuring the property on the site collection level, not only is the property name grayed out, but the Refinable menu is locked.

Edit Property

幸好有許多 「 空白 」 的 managed 的屬性的預設啟用為精簡器。「 空白 」 的 managed 的屬性與編目的屬性對應至其沒有。這表示網站集合管理員可以對應至其中一個精簡器啟用 managed 屬性的編目的屬性不必編列 Search service 應用程式管理員的協助。Luckily, there are many "empty" managed properties that by default are enabled as refiners. An "empty" managed property does not have a crawled property mapped to it. This means that Site collection administrators can map a crawled property to one of these refiner-enabled managed properties without having to enlist the help of a Search service application administrator.

下表提供預設啟用為精簡器的 managed 屬性概觀。The following table provides an overview of the managed properties that are enabled as refiners by default.

Managed 屬性名稱Managed property name 對應的資料類型Data type for mapping 精簡器值的顯示格式Display format for refiner values
RefinableDate00 - RefinableDate19RefinableDate00 - RefinableDate19
數值包含日期Values contain dates
間隔Intervals
RefinableDecimal00 - RefinableDecimal09RefinableDecimal00 - RefinableDecimal09
數值包含數字,最大的三個小數位數Values contain numbers with maximum three decimals
間隔Intervals
RefinableDouble00 - RefinableDouble09RefinableDouble00 - RefinableDouble09
數值包含數字,最大的三個小數位數Values contain numbers with maximum three decimals
間隔Intervals
RefinableInt00 - RefinableInt49RefinableInt00 - RefinableInt49
數值為整數Values are whole numbers
間隔Intervals
RefinableString00 - RefinableString99RefinableString00 - RefinableString99
值為字串。這包含使用「文字」、「個人或群組」、「Managed 中繼資料」、「選擇」和「是/否」資料類型的值Values are strings. This includes values that use the data type Text, Person or Group, Managed Metadata, Choice and Yes/No
清單List

階段 12: 規劃使用 SharePoint Server-第一部中的多層面導覽的精簡器列出我們想要用以作為精簡器 「 音訊 」 及 「 相機。 」 類別的屬性現在我們已新增到此表格的第四行。我們想要使用每個精簡器,如我們必須定義的精簡器啟用的 managed 的屬性。然後我們將會對應到適當的精簡器啟用 managed 屬性代表精簡器的編目的屬性。Stage 12: Plan to use refiners for faceted navigation in SharePoint Server - Part I listed the properties we want to use as refiners for the categories "Audio" and "Cameras." Now we have to add a fourth column to this table. For each refiner we want to use, we must define a refiner-enabled managed property. We'll then map the crawled property that represents the refiner to the appropriate refiner-enabled managed property.

若要使用的精簡器Refiner to use 屬性類型Property type 精簡器值的顯示格式Display format for refiner values 精簡器啟用的 managed 的屬性Refiner-enabled managed property
PricePrice
臨界值Number
間隔Intervals
TBDTBD
品牌Brand
文字Text
清單List
TBDTBD
色彩Color
文字Text
清單List
TBDTBD
縮放Zoom
臨界值Number
清單List
TBDTBD
螢幕大小Screen size
臨界值Number
清單List
TBDTBD
巨型像素Mega pixels
臨界值Number
清單List
TBDTBD
最大 ISOMax ISO
臨界值Number
清單List
TBDTBD

關於定義精簡器啟用 managed 屬性加入到我們 Contoso 案例中使用About defining the refiner-enabled managed properties to use in our Contoso scenario

類型文字的精簡器,我們可以使用兩個RefinableString managed 屬性的醒目提示的儲存格的下表所示。For refiners of type Text, we can use two of the RefinableString managed properties, as shown in the highlighted cells of the following table.

若要使用的精簡器Refiner to use 屬性類型Property type 精簡器值的顯示格式Display format for refiner values 精簡器啟用的 managed 的屬性Refiner-enabled managed property
PricePrice
臨界值Number
間隔Intervals
TBDTBD
品牌Brand
文字Text
清單List
RefinableString01RefinableString01
色彩Color
文字Text
清單List
RefinableString02RefinableString02
縮放Zoom
臨界值Number
清單List
TBDTBD
螢幕大小Screen size
臨界值Number
清單List
TBDTBD
巨型像素Mega pixels
臨界值Number
清單List
TBDTBD
最大 ISOMax ISO
臨界值Number
清單List
TBDTBD

數字的精簡器需要一點技巧因為我們要考慮何種類型的數值我們處理的且我們想要列出的精簡器值的方式。讓我們開始使用數字的精簡器價格。在 Contoso 案例中, Price的值為整數。RefinableInt managed 屬性可以用於整個數字,會顯示精簡器值的間隔。如下所示階段 12: 規劃使用 SharePoint Server-第一部中的多層面導覽的精簡器,我們想要顯示為間隔我們價格精簡器。讓此精簡器,我們可以使用其中一個RefinableInt managed 屬性。這會顯示在下表醒目提示儲存格中。The numeric refiners are a bit trickier because we have to consider what type of numeric values we are dealing with, and how we want the refiner values to be listed. Let's start with the numeric refiner Price. In our Contoso scenario, the values for Price are whole numbers. A RefinableInt managed property can be used for whole numbers, and it displays refiner values in intervals. As shown in Stage 12: Plan to use refiners for faceted navigation in SharePoint Server - Part I, we want to display our Price refiner as intervals. So, for this refiner, we can use one of the RefinableInt managed properties. This is shown in the highlighted cell of the following table.

若要使用的精簡器Refiner to use 屬性類型Property type 精簡器值的顯示格式Display format for refiner values 精簡器啟用的 managed 的屬性Refiner-enabled managed property
PricePrice
臨界值Number
間隔Intervals
RefinableInt01RefinableInt01
品牌Brand
文字Text
清單List
RefinableString01RefinableString01
色彩Color
文字Text
清單List
RefinableString02RefinableString02
縮放Zoom
臨界值Number
清單List
TBDTBD
螢幕大小Screen size
臨界值Number
清單List
TBDTBD
巨型像素Mega pixels
臨界值Number
清單List
TBDTBD
最大 ISOMax ISO
臨界值Number
清單List
TBDTBD

其餘的數字精簡器是混合整數和十進位數字。這可能表示我們應該使用RefinableIntRefinableDecimal managed 屬性。但是,因為我們想要顯示精簡器值清單中,我們不能使用任一它們。而是我們必須使用RefinableString managed 屬性。可能看起來有點計數器直覺我們使用 managed 的屬性來顯示數值精簡器值的字串值,但這是我們可以在清單中顯示精簡器值的唯一方式。The remaining numeric refiners are a mix of whole numbers and decimal numbers. This could imply that we should use either RefinableInt or RefinableDecimal managed properties. But, because we want to display the refiner values in a list, we can't use either of them. Instead, we must use RefinableString managed properties. It might seem a bit counter-intuitive that we use managed properties that are meant for string values to display numeric refiner values, but this is the only way that we can display refiner values in a list.

那麼,我們建立最後的精簡器啟用的 managed 屬性清單看起來如下:So, our final list of refiner-enabled managed properties looks as follows:

若要使用的精簡器Refiner to use 屬性類型Property type 精簡器值的顯示格式Display format for refiner values 精簡器啟用的 managed 的屬性Refiner-enabled managed property
PricePrice
臨界值Number
間隔Intervals
RefinableInt01RefinableInt01
品牌Brand
文字Text
清單List
RefinableString01RefinableString01
色彩Color
文字Text
清單List
RefinableString02RefinableString02
縮放Zoom
臨界值Number
清單List
RefinableString03RefinableString03
螢幕大小Screen size
臨界值Number
清單List
RefinableString04RefinableString04
巨型像素Mega pixels
臨界值Number
清單List
RefinableString05RefinableString05
最大 ISOMax ISO
臨界值Number
清單List
RefinableString06RefinableString06

現在,我們已經處理的規劃,它的時間執行一些實際的設定。Now that we've taken care of the planning, it's time do some actual configuring.

本系列中的下一篇文章Next article in this series

階段 14: SharePoint Server 中設定多面向導覽的精簡器Stage 14: Configure refiners for faceted navigation in SharePoint Server

另請參閱See also

其他資源Other Resources

規劃精簡器和多面向導覽Plan refiners and faceted navigation