SearchParameters.OrderBy Property

Definition

Gets or sets the list of OData $orderby expressions by which to sort the results. Each expression can be either a field name or a call to either the geo.distance() or the search.score() functions. Each expression can be followed by asc to indicate ascending, and desc to indicate descending. The default is ascending order. Ties will be broken by the match scores of documents. If no OrderBy is specified, the default sort order is descending by document match score. There can be at most 32 $orderby clauses.

[Newtonsoft.Json.JsonIgnore]
public System.Collections.Generic.IList<string> OrderBy { get; set; }
[<Newtonsoft.Json.JsonIgnore>]
member this.OrderBy : System.Collections.Generic.IList<string> with get, set
Public Property OrderBy As IList(Of String)

Property Value

IList<String>
Attributes
Newtonsoft.Json.JsonIgnoreAttribute

Applies to