3.1.4.7.4.4 SortDirection
Namespace: http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Query
The SortDirection simple type represents the direction in which the search results MUST be sorted.
-
<xs:simpleType name="SortDirection" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:restriction base="xs:string"> <xs:enumeration value="Ascending"/> <xs:enumeration value="Descending"/> <xs:enumeration value="FQLFormula"/> </xs:restriction> </xs:simpleType>
The following table specifies the allowable values for the SortDirection simple type.
Value |
Meaning |
---|---|
Ascending |
The search results MUST be sorted in ascending order of the values of the property specified by Sort.strProperty as specified in section 3.1.4.7.3.6. |
Descending |
The search results MUST be sorted in descending order of the values of the property specified by Sort.strProperty as specified in section 3.1.4.7.3.6. |
FQLFormula |
The search results MUST be sorted according to formula specified by Sort.strProperty as specified in section 3.1.4.7.3.6. The formula MUST be a valid formula expression as specified in [MS-FQL2] section 2. If QueryProperties.ResultsProvider (as specified in section 2.2.4.11) is SearchProvider.SharepointSearch, the value MUST be ignored by the protocol server. |