Dela via


languageFeature Element

Applies to: SharePoint Server 2010

The static ranking parameter for matching the query language.

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

<languageFeature pid=”PID” name=”string” default=”defaultValue” weight=”weightValue” />

Attributes and Elements

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

Attributes

Attribute

Description

pid

The managed property ID for the Language managed property. Required.

name

The ranking parameter name. Optional

default

The default value for ranking parameter. Required.

weight

The weight assigned to the ranking parameter. Required.

default Attribute

Value

Description

1

The primary language of the query is the same as the primary language of the stored LCID or is LCID neutral.

0

The primary language of the query is not the same as the primary language of the stored LCID.

Child Elements

None.

Parent Elements

Element

Description

queryIndependentFeatures Element [Ranking Model Schema]

Contains the list of the static ranking parameters.

Element Information

Namespace

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

Schema Name

Ranking Model Schema