Share via


Set-FASTSearchMetadataFullTextIndexMapping

 

Applies to: SharePoint Server 2010

Updates the importance level of an existing full text index mapping.

Syntax

Set-FASTSearchMetadataFullTextIndexMapping -Level <Int32> -Mapping <FullTextIndexMapping>

Detailed Description

This cmdlet changes the importance level of an existing full text index mapping.

Managed properties are mapped according to an importance level. If the number of matching documents for a query term is higher than the StopWordThreshold for the rank profile in use, the Microsoft FAST Search Server 2010 for SharePoint system retries the query while limiting the search to managed properties belonging to a higher importance level than the one previously tried.

It repeats this process until it finds a level where the query term count is lower than StopWordThreshold.

Importance level 1 (the first that will be used) includes all levels from 1 and up. Importance level 2 includes all levels 2 and up. The maximum level is 7.

This process is called drilling. See Set-FASTSearchMetadataRankProfile for more information about StopWordThreshold.

Parameters

Parameter Required Type Description

Level

Required

System.Int32

The importance level to use for this mapping. Valid values are 1 through 7.

Mapping

Required

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

The full text index object to update.

Input Types

Return Types

Example

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

$content = get-fastsearchmetadatafulltextindex -name content
$sitetitle = Get-FASTSearchMetadataManagedProperty -name sitetitle
$sitetitle_fulltextindexmapping = Get-FASTSearchMetadataFullTextIndexMapping -managedproperty $sitetitle -fulltextindex $content
Set-FASTSearchMetadataFullTextIndexMapping -mapping $sitetitle_fulltextindexmapping -level 7

This example looks up a full text index mapping for a managed property named “SiteTitle” and moves it from importance level 1 to importance level 7.

The example first retrieves the full text index object for “content” and the managed property object for “sitetitle”. It then uses these objects to get the full text index mapping object with the Get-FASTSearchMetadataFullTextIndexMapping cmdlet. Finally, the example calls the Set-FASTSearchMetadataFullTextIndexMapping cmdlet to update the level.

Note

You have to re-feed the content in order for the importance level change to take effect.

See Also

Reference

New-FASTSearchMetadataFullTextIndexMapping
Remove-FASTSearchMetadataFullTextIndexMapping
Get-FASTSearchMetadataFullTextIndexMapping