The available criteria that can be used to sort query results.

Enumeration Members

Enumeration Members

Date: "date"

Uses the date field to sort the query results. This field typically contains the last modification date of each item. May be in ascending or descending order.

Field: "field"

Uses the value of a specific sortable field to sort the query results. May be in ascending or descending order.

NoSort: "nosort"

Does not sort the query results; the index will return result items in an essentially random order.

QRE: "qre"

Uses only custom ranking expressions (QREs and QRFs) to compute a ranking score for each query result item, and sorts the query results by descending score value.

Relevancy: "relevancy"

Uses standard index ranking factors (adjacency, TDIDF) and custom ranking expressions (QREs and QRFs) to compute a ranking score for each query result item, and sorts the query results by descending score value.