New-FASTSearchMetadataFullTextIndexMapping

创建从托管属性到全文索引的新映射。

语法

New-FASTSearchMetadataFullTextIndexMapping
   -FullTextIndex <FullTextIndex>
   -Level <Int32>
   -ManagedProperty <ManagedProperty>
   [<CommonParameters>]

说明

此 cmdlet 通过将托管属性映射到全文索引将托管属性的内容添加到全文索引中。 映射只适用于新内容;必须重新提供现有内容才能使其显示在此全文索引中。

托管属性按重要性级别 这一概念进行排序。 如果查询词的匹配文档数大于正在使用的排名配置文件的 StopWordThreshold,则Microsoft FAST Search Server 2010 for SharePoint系统将重试查询,从而将搜索的托管属性限制为从较高重要性级别搜索的属性。

重要性级别 1(查询中使用的第一个级别)包括 1 及以上的所有级别的托管属性。 重要性级别 2 包括级别 2 及以上的级别。 最高级别为 7。

此过程称为钻取。 有关 StopWordThreshold 的详细信息,请参阅 Set-FASTSearchMetadataRankProfile。

有关 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”的托管属性映射到级别 3 上名为“thirdfulltextindex”的全文索引中。

在创建此映射后,必须重新提供内容来填充全文索引。

参数

-FullTextIndex

要向其添加映射的全文索引。

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

-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

-ManagedProperty

要映射到全文索引中的托管属性。

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