Set-FASTSearchMetadataCrawledPropertyMapping

Specifies which crawled properties map into specific managed properties.

Syntax

Set-FASTSearchMetadataCrawledPropertyMapping
   -CrawledPropertyMapping <System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Administration.Schema.CrawledProperty]>
   -ManagedProperty <ManagedProperty>
   [<CommonParameters>]
Set-FASTSearchMetadataCrawledPropertyMapping
   -CrawledPropertyMapping <System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Administration.Schema.CrawledProperty]>
   -Name <String>
   [<CommonParameters>]

Description

This cmdlet replaces a managed property's crawled property mappings with a set of mappings specified as a parameter (CrawledPropertyMapping). All other existing crawled property mappings for the managed property are removed.

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)

C:\PS>$title = Get-FASTSearchMetadataManagedProperty -Name title
$extendedtitle = Get-FASTSearchMetadataManagedProperty -name extendedtitle
$mappings_for_title = $title.GetCrawledPropertyMappings()
Set-FASTSearchMetadataCrawledPropertyMapping -CrawledPropertyMapping $mappings_for_title -ManagedProperty $extendedtitle

This example adds the crawled property mappings from the managed property "title" to the managed property "extendedtitle".

The example first retrieves a list of the crawled property mappings for the managed property named "title" using the GetCrawledPropertyMappings(). It then calls Set-FASTSearchMetadataCrawledPropertyMapping with this list as a parameter. This replaces any existing crawled property mappings for the managed property "extendedtitle".

Parameters

-CrawledPropertyMapping

The list of crawled property mappings applied to the specified managed property. The order in the list controls which crawled property is used when multiple crawled properties exist. The list must consist of one or more Microsoft.SharePoint.Search.Extended.Administration.Schema.CrawledPropertyImpl objects.

Type:System.Collections.Generic.List`1[Microsoft.SharePoint.Search.Extended.Administration.Schema.CrawledProperty]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:FAST Server for SharePoint 2010

-ManagedProperty

An object representing a managed property.

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

-Name

The name of the managed property whose crawled property mappings you are updating.

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