![]() | SearchOptionsSort Method |
Name | Description | |
---|---|---|
![]() | Sort(JObject) |
Configures the sorting criteria for the search results using a custom JObject.
|
![]() | Sort(String) |
Configures the list of fields which are used for sorting the search result. Fields with a prefix of "-" indicate a descending nature.
If no sort is provided, it is equal to sort("-_score"), since the server will sort it by score in descending order by default.
|
![]() | Sort(ISearchSort) |
Configures the sorting criteria for the search results using an implementation of ISearchSort.
|