 | SphinxSortMode Enumeration |
Determines the sort mode searchd uses to sort matched documents.
Namespace: SphinxConnector.NativeApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 3.12.6
Syntax[SerializableAttribute]
public enum SphinxSortMode
<SerializableAttribute>
Public Enumeration SphinxSortMode
Members
| Member name | Value | Description |
---|
| Relevance | 0 |
Sorts by relevance in descending order (best matches first). This is the default.
|
| AttributeDescending | 1 |
Sorts by an attribute in descending order (bigger attribute values first).
|
| AttributeAscending | 2 |
Sorts by an attribute in ascending order (smaller attribute values first).
|
| TimeSegments | 3 |
Sorts by time segments (last hour/day/week/month) in descending order, and then by relevance in descending order.
|
| Extended | 4 |
Sorts by SQL-like combination of columns in ASC/DESC order.
|
| Expression | 5 |
Sorts by an arithmetic expression.
|
See Also