Determines the sort mode searchd uses to sort matched documents.
Namespace: Gronewold.SphinxConnectorAssembly: Gronewold.SphinxConnector (in Gronewold.SphinxConnector.dll) Version: 2.7.0.3011 (2.7.0.3011)
Syntax
| C# |
|---|
[SerializableAttribute] public enum SphinxSortMode |
| Visual Basic |
|---|
<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. |