Remove-FASTSearchMetadataFullTextIndex

从Microsoft FAST Search Server 2010 for SharePoint系统中删除全文索引。

语法

Remove-FASTSearchMetadataFullTextIndex
      -FullTextIndex <FullTextIndex>
      [-Confirm]
      [-Force]
      [-WhatIf]
      [<CommonParameters>]
Remove-FASTSearchMetadataFullTextIndex
      -Name <String>
      [-Confirm]
      [-Force]
      [-WhatIf]
      [<CommonParameters>]

说明

This cmdlet removes a full text index. The content of the index is removed and is no longer searchable. The managed properties mapped to the full text index are still available and can be mapped to other or new full text indexes.

有关 FAST Search Server 2010 for SharePoint cmdlet 的权限和最新信息,请参阅联机文档,(https://go.microsoft.com/fwlink/?LinkId=163227)。

示例

---------------示例 1----------------- (FAST Server for SharePoint 2010)

Remove-FASTSearchMetadataFullTextIndex -name secondarycontent

本示例从 FAST Search Server 2010 for SharePoint 系统中删除名为“secondarycontent”的全文索引。 只要没有使用 Force 参数,或者将 $ConfirmPreference 环境设置为比 HIGH 高的值,此 cmdlet 就会要求确认。

---------------EXAMPLE 2-----------------(FAST Server for SharePoint 2010)

C:\PS>$index=Get-FASTSearchMetadataFullTextIndex -name secondarycontent
Remove-FASTSearchMetadataFullTextIndex -FullTextIndex $index -force

This example removes the full text index represented by the $index variable. Since the Force parameter is specified, confirmation of the index removal is not used.

参数

-Confirm

激活用户提示以确认操作。 如果设置此选项,则激活提示。 如果 Confirm 为 false (-Confirm:$false),则不使用确认提示。

在不指定 Confirm 的情况下,如果 $ConfirmPreference 外壳程序变量等于或大于 cmdlet 的 ConfirmImpact 设置 (HIGH),此 cmdlet 将会进行提示。

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-Force

替代任何用户提示设置,以便不需要确认操作。

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

-FullTextIndex

一个代表要删除的全文索引的全文索引对象。

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

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-名称

要删除的全文索引的名称。

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