Search Results for

    Show / Hide Table of Contents

    Class SortBase

    Inheritance
    object
    SortBase
    FieldSort
    GeoDistanceSort
    ScriptSort
    Implements
    ISort
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public abstract class SortBase : ISort

    Properties

    | Edit this page View Source

    Missing

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

    Declaration
    public 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
    public 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
    public INestedSort Nested { get; set; }
    Property Value
    Type Description
    INestedSort
    | Edit this page View Source

    NumericType

    Set a single resolution for the sort

    Declaration
    public NumericType? NumericType { get; set; }
    Property Value
    Type Description
    NumericType?
    | Edit this page View Source

    Order

    Controls the order of sorting

    Declaration
    public SortOrder? Order { get; set; }
    Property Value
    Type Description
    SortOrder?
    | Edit this page View Source

    SortKey

    The field on which to sort

    Declaration
    protected abstract Field SortKey { get; }
    Property Value
    Type Description
    Field

    Implements

    ISort

    Extension Methods

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