Search Results for

    Show / Hide Table of Contents

    Interface ISortingSettings

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

    Properties

    | Edit this page View Source

    Fields

    The list of fields used to sort the index. Only boolean, numeric, date and keyword fields with doc_values are allowed here.

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

    Missing

    The missing parameter specifies how docs which are missing the field should be treated. The missing value can have the following values: Last: Documents without value for the field are sorted last. First: Documents without value for the field are sorted first.

    Declaration
    IndexSortMissing[] Missing { get; set; }
    Property Value
    Type Description
    IndexSortMissing[]
    | Edit this page View Source

    Mode

    The mode option controls what value, from a multi-value field, is picked to sort the document. The mode option can have the following values: Minimum: Pick the lowest value. Maximum: Pick the highest value.

    Declaration
    IndexSortMode[] Mode { get; set; }
    Property Value
    Type Description
    IndexSortMode[]
    | Edit this page View Source

    Order

    The sort order to use for each field. The order option can have the following values: Ascending and Descending.

    Declaration
    IndexSortOrder[] Order { get; set; }
    Property Value
    Type Description
    IndexSortOrder[]

    Extension Methods

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