Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Map a managed property to a full-text index at a specific importance level by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

FAST Search Server 2010

Published: May 12, 2010

  1. 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.

  2. On the Start menu, click All Programs.

  3. Click Microsoft FAST Search Server 2010 for SharePoint.

  4. Click Microsoft FAST Search Server 2010 for SharePoint shell.

  5. 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.

  6. View the importance level for the managed property:

    $mp.GetFullTextIndexMappings()
    
    >> ImportanceLevel: 1
    >> ManagedProperty: body
    >> FullTextIndex: content
    
  7. 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.

  8. Remove the current importance level mapping:

    Remove-FASTSearchMetadataFullTextIndexMapping -Mapping $fuu
    
    
  9. 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).

note Note:

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.

note Note:

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

See also

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.