Share via


Remove-FASTSearchMetadataFullTextIndexMapping

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

Syntax

Default (Default)

Remove-FASTSearchMetadataFullTextIndexMapping
    [-Mapping] <FullTextIndexMapping>
    [<CommonParameters>]

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.

For permissions and the most current information about FAST Search Server 2010 for SharePoint cmdlets, see the online documentation, (https://go.microsoft.com/fwlink/?LinkId=163227).

Examples

EXAMPLE 1 (FAST Server for SharePoint 2010)

$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.

Parameters

-Mapping

Applicable: FAST Server for SharePoint 2010

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

Parameter properties

Type:FullTextIndexMapping
Default value:None
Supports wildcards:False
DontShow:False
Aliases:FullTextIndexMapping, M

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.