categoryFeature Element

Applies to: SharePoint Server 2010

Static ranking parameters with small enumerable integer values; for example, parameters like FileType.

rankingModel Element [Ranking Model Schema]
  queryIndependentFeatures Element [Ranking Model Schema]
    categoryFeature Element [Ranking Model Schema]

<categoryFeature pid=”PID” default=”defaultValue” name=”string”>   <category value=”categoryValue” name=”string” weight=”weightValue” /> </categoryFeature>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

pid

The managed property ID where the parameter value is retrieved from. Required.

default

The default value for the parameter. Required.

name

The parameter name. Optional.

Child Elements

Element

Description

category Element [Ranking Model Schema]

Contains the score additions for each possible ranking parameter value.

Parent Elements

Element

Description

queryIndependentFeatures Element [Ranking Model Schema]

Contains the list of static ranking parameters.

Element Information

Namespace

https://schemas.microsoft.com/office/2009/rankingModel

Schema Name

Ranking Model Schema