Get-FASTSearchMetadataFullTextIndexMapping
检索托管属性和全文索引之间的映射。
语法
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
为检索映射而指定的全文索引。
Type: | FullTextIndex |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
-ManagedProperty
为检索映射而指定的托管属性。
Type: | ManagedProperty |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Applies to: | FAST Server for SharePoint 2010 |
相关链接
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈