2.2.5.1 DirectionType

Target namespace: urn:Microsoft.Search.Query

This type defines the sort order for a listing of search results.

 <s:simpleType name="DirectionType">
   <s:restriction base="s:string">
     <s:enumeration value="Ascending"/>
     <s:enumeration value="Descending"/>
     <s:enumeration value="FQLFormula"/> 
   </s:restriction>
 </s:simpleType>

The following table defines the allowable values for DirectionType:

Value

Meaning

Ascending

Sort the search results in ascending order.

Descending

Sort the Search results in descending order.

FQLFormula<11>

Sort the search results by formula provided in Query.SortByProperties.SortByProperty.name, as specified in section 2.2.3.1