Remove-FASTSearchMetadataFullTextIndexMapping

 

Applies to: SharePoint Server 2010

Removes a managed-property-to-full-text-index mapping.

Syntax

Remove-FASTSearchMetadataFullTextIndexMapping [-Mapping] <FullTextIndexMapping>

Detailed Description

This cmdlet removes the mapping of a managed property to a full text index. The managed properties are not affected, and can still be mapped to other full text indexes.

The content must be recrawled/re-fed to reflect that managed properties have been removed from full text indexes.

Parameters

Parameter Required Type Description

Mapping

Required

Microsoft.SharePoint.Search.Extended.Administration.Schema.FullTextIndexMapping

An object representing the full text index mapping to be removed.

Input Types

Return Types

Example

---------------EXAMPLE 1-----------------

$fulltextindex = Get-FASTSearchMetadataFullTextIndex -Name content
$managedproperty = Get-FASTSearchMetadataManagedProperty -Name CreatedBy
$fulltextindexmapping = Get-FASTSearchMetadataFullTextIndexMapping -ManagedProperty $managedproperty -FullTextIndex $fulltextindex
Remove-FASTSearchMetadataFullTextIndexMapping -mapping $fulltextindexmapping

This example removes the mapping of the managed property “CreatedBy” from the full text index “content”. Since the cmdlet takes an object of the mapping, the example first retrieves the mapping using Get-FASTSearchMetadataFullTextIndexMapping.

See Also

Reference

New-FASTSearchMetadataFullTextIndexMapping
Set-FASTSearchMetadataFullTextIndexMapping
Get-FASTSearchMetadataFullTextIndexMapping