The RELRANK_STATIC element implements the Static relevance ranking module.
This module assigns a constant score to each result, depending on the type of search operation performed.
<!ELEMENT RELRANK_FREQ EMPTY>
<!ATTLIST RELRANK_STATIC
NAME CDATA #REQUIRED
ORDER (ASCENDING|DESCENDING) #REQUIRED
>
The RELRANK_STATIC element has the following attributes.
NAME
Specifies the name of a standard or managed attribute that is used for static relevance ranking.
ORDER
Specifies how records should be sorted with respect to the specified standard or managed attribute.
The RELRANK_STATIC element has no sub-elements.
In this example, the BestPrice strategy consists of the Price managed attribute sorted from lowest to highest.
<RELRANK_STRATEGY NAME="BestPrice"> <RELRANK_STATIC NAME="Price" ORDER="ASCENDING"/> </RELRANK_STRATEGY>