Change the overall weight of the static rank (quality rank) components by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

 

Applies to: FAST Search Server 2010

If you want to give more rank point to search words entered by the user versus rank points given to documents independent of search word used, you should increase the overall weight of the dynamic rank components. You do this by reducing the overall weight of the quality, or static rank components.

  1. On the Start menu, click All Programs.

  2. Click Microsoft FAST Search Server 2010 for SharePoint.

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

  4. At the Windows PowerShell command prompt, type the following command(s):

    $RankProfile = Get-FASTSearchMetadataRankProfile -Name <RankProfile>
    

    Where:

    • <RankProfile> is the name of the rank profile that you want to change the overall static rank components weight for. The default rank profile is named default.
  5. Look at the current value:

    $RankProfile
    
    >> Name                                   :         Time
    >> isDefault                              :         False  
    >> RankModelName                          :         Default
    >> StopWordThreshold                      :         2000000
    >> PositionStopWordThreshold              :         20000000
    >> QualityWeight                          :         50
    >> AuthorityWeight                        :         50
    >> QueryAuthorityWeight                   :         50
    >> FreshnessWeight                        :         0
    >> FreshnessResolution                    :         Second
    >> FreshnessManagedPropertyReference      :         Write      
    
  6. Change the quality weight:

    $RankProfile.QualityWeight = <QualityWeight>
    

    Where:

    • <QualityWeight> is the new overall weight you want to give the static rank components, for example 30.
  7. Update the rank profile with the new value:

    $RankProfile.Update()
    
  8. Look at the rank profile to confirm that the new value is being used:

    $RankProfile
    
    >> Name                                   :         Time
    >> isDefault                              :         False  
    >> RankModelName                          :         Default
    >> StopWordThreshold                      :         2000000
    >> PositionStopWordThreshold              :         20000000
    >> QualityWeight                          :         30
    >> AuthorityWeight                        :         50
    >> QueryAuthorityWeight                   :         50
    >> FreshnessWeight                        :         0
    >> FreshnessResolution                    :         Second
    >> FreshnessManagedPropertyReference      :         Write      
    

See also

RankProfile.QualityWeight Property

Get-FASTSearchMetadataRankProfile