Search Results for

    Show / Hide Table of Contents

    Class SortProcessor

    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.

    Inheritance
    object
    ProcessorBase
    SortProcessor
    Implements
    ISortProcessor
    IProcessor
    Inherited Members
    ProcessorBase.If
    ProcessorBase.Tag
    ProcessorBase.IgnoreFailure
    ProcessorBase.OnFailure
    ProcessorBase.Description
    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 class SortProcessor : ProcessorBase, ISortProcessor, IProcessor

    Properties

    | Edit this page View Source

    Field

    The field to be sorted

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

    Name

    Declaration
    protected override string Name { get; }
    Property Value
    Type Description
    string
    Overrides
    ProcessorBase.Name
    | Edit this page View Source

    Order

    The sort order to use. Default is ascending.

    Declaration
    public 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
    public Field TargetField { get; set; }
    Property Value
    Type Description
    Field

    Implements

    ISortProcessor
    IProcessor

    Extension Methods

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