Search Results for

    Show / Hide Table of Contents

    Enum MatrixStatsMode

    The matrix_stats aggregation treats each document field as an independent sample. The mode parameter controls what array value the aggregation will use for array or multi-valued fields.

    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public enum MatrixStatsMode

    Fields

    Name Description
    Avg

    (default) Use the average of all values.

    Max

    Pick the highest value.

    Median

    Use the median of all values.

    Min

    Pick the lowest value.

    Sum

    Use the sum of all values.

    Extension Methods

    KnownEnums.GetStringValue(Enum)
    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Fields
    • Extension Methods
    Back to top Generated by DocFX