Promotion Interface

Represents a promotion. A promotion may be used to promote specific kinds of items or locations so that the item or location reaches a higher rank position in the result set of a query. A promotion may also be used to demote documents to fall to a lower rank position. Such promotions are called demotions.

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Interface Promotion _
    Inherits SearchSetting, Describable, Identifiable, IComparable(Of Promotion)
'Usage
Dim instance As Promotion
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public interface Promotion : SearchSetting, 
    Describable, Identifiable, IComparable<Promotion>

Remarks

A promotion contains a collection of promoted items sharing the same boost value. When the boost value is positive, the subset of items in a result set that react on a promotion (a matching promoted expression, promoted location, or promoted document) are boosted so the result set items may reach a higher rank position in the result set. When the boost value is negative, the subset of items that react on a promotion may fall to a lower rank position. A promotion is either a globally valid search setting or related to a keyword; a keyword promotion. A keyword promotion only takes effect if the search query matches the keyword. Such a match is found if the query contains the keyword or if one of the registered keyword synonyms equals the query.

See Also

Reference

Promotion Members

Microsoft.SharePoint.Search.Extended.Administration.Keywords Namespace

PromotionCollection

PromotionSortField

PromotedItem

PromotedDocument

PromotedLocation

PromotedExpression

PromotedItemCollection

SearchSetting