New-FASTSearchMetadataFullTextIndexMapping
建立從Managed屬性到全文檢索索引的新對應。
語法
Default (預設值)
New-FASTSearchMetadataFullTextIndexMapping
-FullTextIndex <FullTextIndex>
-Level <Int32>
-ManagedProperty <ManagedProperty>
[<CommonParameters>]
Description
此 Cmdlet 會將 Managed 屬性的內容對應至全文檢索索引,方法是將 Managed 屬性對應至全文檢索索引。 對應僅適用於新內容;現有的內容必須重新饋送,才能出現在這個全文檢索索引中。
Managed 屬性會依稱為重要性層級的概念排序。 如果查詢字詞的相符檔數目大於使用中排名配置檔的 StopWordThreshold,則 Microsoft FAST Search Server 2010 for SharePoint 系統會重試查詢,將搜尋的 Managed 屬性限制為從較高重要性層級搜尋的屬性。
重要性層級 1 (查詢中將使用的第一個層級) 包含來自所有層級 1 和更新版本的 Managed 屬性。 重要性層級 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>$title = Get-FASTSearchMetadataManagedProperty -name title
$fulltextindex = Get-FASTSearchMetadataFullTextIndex -Name thirdfulltextindex
New-FASTSearchMetadataFullTextIndexMapping -ManagedProperty $title -FullTextIndex $fulltextindex -Level 3
本範例會將名為 「title」 的 Managed 屬性對應至層級 3 上名為 “thirdfulltextindex” 的全文檢索索引。
進行此對應之後,必須重新饋送內容以填入全文檢索索引。
參數
-FullTextIndex
適用:FAST Server for SharePoint 2010
要加入對應的全文檢索索引。
參數屬性
| 類型: | FullTextIndex |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-Level
適用:FAST Server for SharePoint 2010
這個 Managed 屬性的重要性層級。 允許的值為 1 到 7。
參數屬性
| 類型: | Int32 |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | ImportanceLevel, L |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-ManagedProperty
適用:FAST Server for SharePoint 2010
要對應至全文檢索索引的Managed屬性。
參數屬性
| 類型: | ManagedProperty |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援一般參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。