Search Results for

    Show / Hide Table of Contents

    Interface IMetricAggregation

    An aggregation that computes metrics based on values extracted in one way or another from the documents that are being aggregated.

    Inherited Members
    IAggregation.Meta
    IAggregation.Name
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IMetricAggregation : IAggregation

    Properties

    | Edit this page View Source

    Field

    The field on which to aggregate

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

    Missing

    The value to use when the aggregation finds a missing value in a document

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

    Script

    The script to use for the aggregation

    Declaration
    [DataMember(Name = "script")]
    IScript Script { get; set; }
    Property Value
    Type Description
    IScript

    Extension Methods

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