IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.

Sort

edit

Apply a sort over the search results. Please note that sorting and boosting are mutually exclusive.

.SortAscending(p=> p.Name.Suffix("sort"))

or

.SortDescending("name.sort")