Dela via


category Element

Applies to: SharePoint Server 2010

Contains the score additions for each possible ranking parameter value.

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

<category value=”categoryValue” name=”string” weight=”weightValue” />

Attributes and Elements

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

Attributes

Attribute

Description

value

The parameter value defining this category. Required.

name

The category name. Optional.

weight

The addition to the weight value for this category. Required.

Child Elements

None.

Parent Elements

Element

Description

categoryFeature Element [Ranking Model Schema]

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

Element Information

Namespace

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

Schema Name

Ranking Model Schema