NEST by Elastic and contributors

<PackageReference Include="NEST" Version="6.8.5" />

.NET API 5,339,136 bytes

 SortingSettings

public Fields Fields { get; set; }

The list of fields used to sort the index. Only boolean, numeric, date and keyword fields with doc_values are allowed here.

public IndexSortMissing[] Missing { get; set; }

The missing parameter specifies how docs which are missing the field should be treated. The missing value can have the following values: Last: Documents without value for the field are sorted last. First: Documents without value for the field are sorted first.

public IndexSortMode[] Mode { get; set; }

The mode option controls what value, from a multi-value field, is picked to sort the document. The mode option can have the following values: Minimum: Pick the lowest value. Maximum: Pick the highest value.

public IndexSortOrder[] Order { get; set; }

The sort order to use for each field. The order option can have the following values: Ascending and Descending.

public SortingSettings()