Map a managed property to a full-text index at a specific importance level by using Windows PowerShell (FAST Search Server 2010 for SharePoint)(informazioni in lingua inglese)
Aggiornato: 10 febbraio 2011
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).
Nota
You have to re-feed the content for the importance level change to take effect.
See also
FullTextIndexMapping Interface
Set-FASTSearchMetadataFullTextIndexMapping
Cronologia delle modifiche
Data | Descrizione | Motivo |
---|---|---|
10 febbraio 2011 |
2011/02/07 |
Aggiornamento contenuto |
12 maggio 2010 |
Pubblicazione iniziale |