Search Results for

    Show / Hide Table of Contents

    Interface ISortProcessor

    Sorts the elements of an array ascending or descending. Homogeneous arrays of numbers will be sorted numerically, while arrays of strings or heterogeneous arrays of strings and numbers will be sorted lexicographically.

    Inherited Members
    IProcessor.Name
    IProcessor.Description
    IProcessor.OnFailure
    IProcessor.If
    IProcessor.Tag
    IProcessor.IgnoreFailure
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface ISortProcessor : IProcessor

    Properties

    | Edit this page View Source

    Field

    The field to be sorted

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

    Order

    The sort order to use. Default is ascending.

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

    TargetField

    The field to assign the sorted value to, by default field is updated in-place

    Declaration
    [DataMember(Name = "target_field")]
    Field TargetField { get; set; }
    Property Value
    Type Description
    Field

    Extension Methods

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