Search Results for

    Show / Hide Table of Contents

    Interface ISort

    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ISort

    Properties

    | Edit this page View Source

    Missing

    Specifies how documents which are missing the sort field should be treated.

    Declaration
    [DataMember(Name = "missing")]
    object Missing { get; set; }
    Property Value
    Type Description
    object
    | Edit this page View Source

    Mode

    Controls what collection value is picked for sorting a document when the field is a collection

    Declaration
    [DataMember(Name = "mode")]
    SortMode? Mode { get; set; }
    Property Value
    Type Description
    SortMode?
    | Edit this page View Source

    Nested

    Specifies the path and filter to apply when sorting on a nested field

    Declaration
    [DataMember(Name = "nested")]
    INestedSort Nested { get; set; }
    Property Value
    Type Description
    INestedSort
    | Edit this page View Source

    NumericType

    Set a single resolution for the sort

    Declaration
    [DataMember(Name = "numeric_type")]
    NumericType? NumericType { get; set; }
    Property Value
    Type Description
    NumericType?
    | Edit this page View Source

    Order

    Controls the order of sorting

    Declaration
    [DataMember(Name = "order")]
    SortOrder? Order { get; set; }
    Property Value
    Type Description
    SortOrder?
    | Edit this page View Source

    SortKey

    The field on which to sort

    Declaration
    [IgnoreDataMember]
    Field SortKey { get; }
    Property Value
    Type Description
    Field

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Missing
      • Mode
      • Nested
      • NumericType
      • Order
      • SortKey
    • Extension Methods
    Back to top Generated by DocFX