Map a managed property to a full-text index at a specific importance level by using Windows PowerShell (FAST Search Server 2010 for SharePoint)
Gilt für: FAST Search Server 2010
Letztes Änderungsdatum des Themas: 2016-11-29
Verify that you meet the following minimum requirements: You are a member of the FASTSearchAdministrators local group on the computer where FAST Search Server 2010 for SharePoint is installed.
On the Start menu, click All Programs.
Click Microsoft FAST Search Server 2010 for SharePoint.
Click Microsoft FAST Search Server 2010 for SharePoint shell.
At the Windows PowerShell command prompt, type the following command(s):
$mp = Get-FASTSearchMetadataManagedProperty -Name <ManagedProperty>
Where:
- <ManagedProperty> is the name of the managed property that you want to map to a full-text index, for example body.
View the importance level for the managed property:
$mp.GetFullTextIndexMappings() >> ImportanceLevel: 1 >> ManagedProperty: body >> FullTextIndex: content
Get the full text index:
$fuu = Get-FASTSearchMetadataFullTextIndexMapping|Where-Object {$_.ManagedProperty.Name -eq "<ManagedProperty>"}
Where:
- <ManagedProperty> is the name of the managed property that you want to map to a full-text index, for example body.
Remove the current importance level mapping:
Remove-FASTSearchMetadataFullTextIndexMapping -Mapping $fuu
Set the new importance level:
New-FASTSearchMetadataFullTextIndexMapping -ManagedProperty (Get-FASTSearchMetadataManagedProperty Body) -FullTextIndex (Get-FASTSearchMetadataFullTextIndex content) -Level <ImportanceLevel>
Where:
- <ImportanceLevel> is the importance level you want to give this managed property, for example 2 (valid values are 1 through 7, with 7 indicating the highest importance).
Hinweis
Do not use a higher importance level value than necessary. Using too many levels within a full-text index will lead to an unnecessary large index file structure. You should always have at least one managed property with importance level 1, and in most cases you do not need to use more than the three first levels. This should be the managed property containing the body of your items.
Hinweis
You have to re-feed the content for the importance level change to take effect.