Click or drag to resize
SphinxSortMode Enumeration
Determines the sort mode searchd uses to sort matched documents.

Namespace: SphinxConnector.NativeApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax
[SerializableAttribute]
public enum SphinxSortMode
Members
  Member nameValueDescription
Relevance0 Sorts by relevance in descending order (best matches first). This is the default.
AttributeDescending1 Sorts by an attribute in descending order (bigger attribute values first).
AttributeAscending2 Sorts by an attribute in ascending order (smaller attribute values first).
TimeSegments3 Sorts by time segments (last hour/day/week/month) in descending order, and then by relevance in descending order.
Extended4 Sorts by SQL-like combination of columns in ASC/DESC order.
Expression5 Sorts by an arithmetic expression.
See Also