Get-FASTSearchMetadataCrawledPropertyMapping

 

Applies to: SharePoint Server 2010

Retrieves a list of crawled properties mapped to a managed property.

Syntax

Get-FASTSearchMetadataCrawledPropertyMapping -ManagedProperty <ManagedProperty>

Get-FASTSearchMetadataCrawledPropertyMapping [-Name] <String>

Detailed Description

This cmdlet retrieves a list of the crawled properties that are mapped to a managed property. It contains more than one parameter set. You may only use parameters from one parameter set, and you may not combine parameters from different parameter sets. When doing simple operations, there is no difference between using the ManagedProperty versus the Name parameter. The only difference is when using the Name parameter you look up the managed property each time, while when using the ManagedProperty parameter you use the object you already have a reference to (object as returned by Get-FASTSearchMetadataManagedProperty). However, when dealing with operations involving a large set of objects (for example iterating over all categories), avoiding extra lookups by name can be slightly more efficient. For more information about how to use parameter sets, see Cmdlet Parameter Sets.

Parameters

Parameter Required Type Description

Name

Required

System.String

The name of a managed property for finding crawled properties.

ManagedProperty

Required

Microsoft.SharePoint.Search.Extended.Administration.Schema.ManagedProperty

The managed property object for finding crawled properties.

Input Types

Return Types

Example

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

Get-FASTSearchMetadataCrawledPropertyMapping -Name title

This example returns a list of crawled properties that are mapped to the managed property named “title”.

---------------EXAMPLE 2-----------------

$managedproperty = Get-FASTSearchMetadataManagedProperty -name title
Get-FASTSearchMetadataCrawledPropertyMapping -ManagedProperty $managedproperty

This example first retrieves a ManagedPropertyImpl object, and then uses it to look up the corresponding crawled property mappings. It returns all crawled properties that are set up to map content into this managed property.

---------------EXAMPLE 3-----------------

$crawledproperty = Get-FASTSearchmetadataCrawledProperty -name title
$crawledproperty.GetMappedManagedProperties()

These commands are the opposite of Get-FASTSearchMetdataCrawledPropertyMapping; they find all managed properties that have a mapping for a specific crawled property. This is useful when assessing how modifying a crawled property will impact the search index.

See Also

Reference

New-FASTSearchMetadataCrawledPropertyMapping
Remove-FASTSearchMetadataCrawledPropertyMapping
Set-FASTSearchMetadataCrawledPropertyMapping
Get-FASTSearchMetadataCrawledProperty
Get-FASTSearchMetadataManagedProperty