Set-FASTSearchMetadataFullTextIndexMapping

這會更新現有全文檢索索引對應的重要性層級。

Syntax

Set-FASTSearchMetadataFullTextIndexMapping
   -Level <Int32>
   -Mapping <FullTextIndexMapping>
   [<CommonParameters>]

Description

這個 Cmdlet 會變更現有全文檢索索引對應的重要性層級。

Managed 屬性的對應,是根據重要性層級。 如果查詢字詞的相符檔數目高於使用中排名設定檔的 StopWordThreshold,則Microsoft FAST Search Server 2010 for SharePoint系統會重試查詢,同時將搜尋限制為屬於比先前嘗試更高重要性層級的 Managed 屬性。

這個程序會重複,直到找到查詢字詞計數低於 StopWordThreshold 的層級為止。

重要性層級 1 (將使用的第一個層級) 包含 1 及以上的所有層級。 重要性層級 2 則包含 2 及以上的所有層級。 最大的層級是 7。

此程序稱為鑽研。 請參閱 Set-FASTSearchMetadataRankProfile,以取得 StopWordThreshold 的詳細資訊。

如需 FAST Search Server 2010 for SharePoint Cmdlet 的許可權和最新資訊,請參閱線上檔 (https://go.microsoft.com/fwlink/?LinkId=163227) 。

範例

--------------- 範例 1----------------- (適用於 SharePoint 2010 的 FAST Server)

C:\PS>$content = get-fastsearchmetadatafulltextindex -name content
$sitetitle = Get-FASTSearchMetadataManagedProperty -name sitetitle
$sitetitle_fulltextindexmapping = Get-FASTSearchMetadataFullTextIndexMapping -managedproperty $sitetitle -fulltextindex $content
Set-FASTSearchMetadataFullTextIndexMapping -mapping $sitetitle_fulltextindexmapping -level 7

本範例會查閱名為 「SiteTitle」 之 Managed 屬性的全文檢索索引對應,並將它從重要性層級 1 移至重要性層級 7。

此範例會先擷取 「content」 的全文檢索索引物件,並擷取 「sitetitle」 的 Managed 屬性物件。 然後使用這些物件,以 Get-FASTSearchMetadataFullTextIndexMapping Cmdlet 取得全文索引對應物件。 最後,範例會呼叫 Set-FASTSearchMetadataFullTextIndexMapping Cmdlet 以更新層級。

參數

-Level

此對應所要使用的重要性層級。 有效值為 1 到 7。

Type:Int32
Aliases:ImportanceLevel, L
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Mapping

要更新的全文索引物件。

Type:FullTextIndexMapping
Aliases:FullTextIndexMapping, M
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010