Click or drag to resize

SearchOptionsSort Method

Overload List
  NameDescription
Public methodSort(JObject)
Configures the sorting criteria for the search results using a custom JObject.
Public methodSort(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.
Public methodSort(ISearchSort)
Configures the sorting criteria for the search results using an implementation of ISearchSort.
Top
See Also