Class SortBase
Implements
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public abstract class SortBase : ISort
Properties
| Edit this page View SourceMissing
Specifies how documents which are missing the sort field should be treated.
Declaration
public object Missing { get; set; }
Property Value
Type | Description |
---|---|
object |
Mode
Controls what collection value is picked for sorting a document when the field is a collection
Declaration
public SortMode? Mode { get; set; }
Property Value
Type | Description |
---|---|
SortMode? |
Nested
Specifies the path and filter to apply when sorting on a nested field
Declaration
public INestedSort Nested { get; set; }
Property Value
Type | Description |
---|---|
INestedSort |
NumericType
Set a single resolution for the sort
Declaration
public NumericType? NumericType { get; set; }
Property Value
Type | Description |
---|---|
NumericType? |
Order
Controls the order of sorting
Declaration
public SortOrder? Order { get; set; }
Property Value
Type | Description |
---|---|
SortOrder? |
SortKey
The field on which to sort
Declaration
protected abstract Field SortKey { get; }
Property Value
Type | Description |
---|---|
Field |