Get-FASTSearchMetadataFullTextIndexMapping
检索托管属性和全文索引之间的映射。
语法
Default (默认值)
Get-FASTSearchMetadataFullTextIndexMapping
[-FullTextIndex <FullTextIndex>]
[-ManagedProperty <ManagedProperty>]
[<CommonParameters>]
说明
此 cmdlet 检索从托管属性到全文索引的映射。 这些映射控制每个全文索引中包括哪些托管属性。
运行只使用托管属性作为参数(ManagedProperty 参数)的 Get-FASTSearchMetadataFullTextIndexMapping 会返回到其中包括该托管属性的全文索引的所有映射。
运行只使用全文索引作为参数(FullTextIndex 参数)的 Get-FASTSearchMetadataFullTextIndexMapping 会返回从包括在该全文索引中的托管属性的所有映射
使用 ManagedProperty 和 FullTextIndex 参数运行 Get-FASTSearchMetadataFullTextIndexMapping 将返回该精确映射的单个 FullTextIndexMappingImpl 对象(如果该对象存在于 Microsoft FAST Search Server 2010 for SharePoint 系统中)。
有关 FAST Search Server 2010 for SharePoint cmdlet 的权限和最新信息,请参阅联机文档 (https://go.microsoft.com/fwlink/?LinkId=163227) 。
示例
示例 1
$fulltextindex = Get-FASTSearchMetadataFullTextIndex -name content
Get-FASTSearchMetadataFullTextIndexMapping -fulltextindex $fulltextindex| ForEach-Object {$_.ManagedProperty.Name}
此示例检索全文索引“content”的全文索引映射。 然后它循环访问这些映射并输出全文索引中包含的托管属性的名称。
示例 2
$title = Get-FASTSearchMetadataManagedProperty -name title
Get-FASTSearchMetadataFullTextIndexMapping -managedproperty $title
此示例检索包含名为“title”的托管属性的所有全文索引。
指定的托管属性映射到“content”和“thirdfulltextindex”,显示托管属性可以包含的全文索引数没有限制。
参数
-FullTextIndex
适用:FAST Server for SharePoint 2010
为检索映射而指定的全文索引。
参数属性
| 类型: | FullTextIndex |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
-ManagedProperty
适用:FAST Server for SharePoint 2010
为检索映射而指定的托管属性。
参数属性
| 类型: | ManagedProperty |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | True |
| 来自管道的值(按属性名称): | True |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。