Share via


RankProfile.FreshnessWeight Property

Gets or sets the freshness weight for the rank profile.

Namespace:  Microsoft.SharePoint.Search.Extended.Administration.Schema
Assembly:  Microsoft.SharePoint.Search.Extended.Administration (in Microsoft.SharePoint.Search.Extended.Administration.dll)

Syntax

'Declaration
Property FreshnessWeight As Integer
    Get
    Set
'Usage
Dim instance As RankProfile
Dim value As Integer

value = instance.FreshnessWeight

instance.FreshnessWeight = value
int FreshnessWeight { get; set; }

Property Value

Type: System.Int32
An integer specifying the freshness weight for rank profile.

Remarks

The freshness weight controls the impact of freshness ranking for the rank profile. A high value for freshness weight will favor fresh documents in the ranking.

See Also

Reference

RankProfile Interface

RankProfile Members

Microsoft.SharePoint.Search.Extended.Administration.Schema Namespace

FreshnessManagedPropertyReference

Other Resources

RankProfile