Get-FASTSearchMetadataFullTextIndexMapping

 

Applies to: SharePoint Server 2010

Retrieves mappings between managed properties and the full text indexes.

Syntax

Get-FASTSearchMetadataFullTextIndexMapping [-FullTextIndex <FullTextIndex>] [-ManagedProperty <ManagedProperty>]

Detailed Description

This cmdlet retrieves mappings from managed properties to full text indexes. These mappings control which managed properties are included in each full text index.

Running Get-FASTSearchMetadataFullTextIndexMapping with only a managed property as a parameter (the ManagedProperty parameter) returns all mappings to full text indexes in which the managed property is included.

Running Get-FASTSearchMetadataFullTextIndexMapping with only a full text index as a parameter (the FullTextIndex parameter) returns all mappings from managed properties that are included in the full text index

Running Get-FASTSearchMetadataFullTextIndexMapping with both the ManagedProperty and the FullTextIndex parameters returns a single FullTextIndexMappingImpl object for that exact mapping, if it exists in the Microsoft FAST Search Server 2010 for SharePoint system.

Parameters

Parameter Required Type Description

FullTextIndex

Optional

Microsoft.SharePoint.Search.Extended.Administration.Schema.FullTextIndex

The full text index specified to retrieve mappings.

ManagedProperty

Optional

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

The managed property specified to retrieve mappings.

Input Types

Return Types

Example

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

$fulltextindex = Get-FASTSearchMetadataFullTextIndex -name content
Get-FASTSearchMetadataFullTextIndexMapping -fulltextindex $fulltextindex| ForEach-Object {$_.ManagedProperty.Name}

This example retrieves the full text index mappings for the full text index “content”. It then iterates over the mappings and outputs the names of the managed properties included in the full text index.

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

$title = Get-FASTSearchMetadataManagedProperty -name title
Get-FASTSearchMetadataFullTextIndexMapping -managedproperty $title

This example retrieves all full text indexes where the managed property named “title” is included.

The specified managed property is mapped to both “content” and “thirdfulltextindex”, showing that there is no limit to how many full text indexes a managed property can be part of.

See Also

Reference

New-FASTSearchMetadataFullTextIndexMapping
Remove-FASTSearchMetadataFullTextIndexMapping
Set-FASTSearchMetadataFullTextIndexMapping
Get-FASTSearchMetadataFullTextIndex
Get-FASTSearchMetadataManagedProperty