Share via


SuggestOptions.OrderBy Property

Definition

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, or 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.

public System.Collections.Generic.IList<string> OrderBy { get; }
member this.OrderBy : System.Collections.Generic.IList<string>
Public ReadOnly Property OrderBy As IList(Of String)

Property Value

Applies to