Export (0) Print
Expand All

Change the freshness resolution and weight by using Windows PowerShell (FAST Search Server 2010 for SharePoint)

FAST Search Server 2010
 

Applies to: FAST Search Server 2010

Topic Last Modified: 2011-02-07

noteNote
When tuning dynamic rank, we recommend that you create a new rank profile, on which you can test the new component settings. For more on how to create new rank profiles, see Create and manage rank profiles by using Windows PowerShell (FAST Search Server 2010 for SharePoint).
  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):

    $RankProfile = Get-FASTSearchMetadataRankProfile -Name <RankProfile>
    
    

    Where:

    • <RankProfile> is the name of the rank profile that you want to change the freshness resolution and weight of. The default rank profile is named default.

  6. Look at the current value:

    $RankProfile
    
    >> Name                                   :         default
    >> isDefault                              :         True  
    >> RankModelName                          :         default
    >> StopWordThreshold                      :         2000000
    >> PositionStopWordThreshold              :         20000000
    >> QualityWeight                          :         50
    >> AuthorityWeight                        :         80
    >> QueryAuthorityWeight                   :         50
    >> FreshnessWeight                        :         100
    >> FreshnessResolution                    :         Day
    >> FreshnessManagedPropertyReference      :         Write      
    
    
  7. Change the freshness resolution and weight:

    $RankProfile.FreshnessResolution = "<FreshnessResolution>"
    $RankProfile.FreshnessWeight = "<FreshnessWeight>"
    
    

    Where:

    • <FreshnessResolution> is the resolution that you want to use, for example Minute. Valid resolutions are as follows: Second, Minute, Hour, Day and Year.

    • <FreshnessWeight> is the weight you want the Freshness component to have relative to the other dynamic rank components, for example 1000.

  8. Update the rank profile with the new values:

    $RankProfile.Update() 
    
  9. Look at the rank profile to verify that the new values are being used:

    $RankProfile
    
    >> Name                                   :         default
    >> isDefault                              :         True  
    >> RankModelName                          :         default
    >> StopWordThreshold                      :         2000000
    >> PositionStopWordThreshold              :         20000000
    >> QualityWeight                          :         50
    >> AuthorityWeight                        :         80
    >> QueryAuthorityWeight                   :         50
    >> FreshnessWeight                        :         1000
    >> FreshnessResolution                    :         Minute
    >> FreshnessManagedPropertyReference      :         Write      
    
    

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft