Set-FASTSearchMetadataFullTextIndexMapping

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

語法

Default (預設值)

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

Description

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

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

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

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

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

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

範例

範例 1 (FAST Server for SharePoint 2010)

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” 之受管理屬性的全文檢索索引對應,並將它從重要性層級 1 移至重要性層級 7。

此範例會先擷取 “content” 的全文索引物件,以及 “sitetitle” 的受管理屬性物件。 然後使用這些物件,以 Get-FASTSearchMetadataFullTextIndexMapping Cmdlet 取得全文索引對應物件。 最後,範例會呼叫 Set-FASTSearchMetadataFullTextIndexMapping Cmdlet 以更新層級。

參數

-Level

適用對象:FAST Server for SharePoint 2010

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

參數屬性

類型:Int32
預設值:None
支援萬用字元:False
不要顯示:False
別名:ImportanceLevel, L

參數集

(All)
Position:Named
必要:True
來自管線的值:False
來自管線按屬性名稱的值:False
來自剩餘引數的值:False

-Mapping

適用對象:FAST Server for SharePoint 2010

要更新的全文索引物件。

參數屬性

類型:FullTextIndexMapping
預設值:None
支援萬用字元:False
不要顯示:False
別名:FullTextIndexMapping, M

參數集

(All)
Position:Named
必要:True
來自管線的值:True
來自管線按屬性名稱的值:True
來自剩餘引數的值:False

CommonParameters

此 Cmdlet 支援常見參數: -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。