Search Results for

    Show / Hide Table of Contents

    Class AggregationResult

    Result of an aggregation

    Inheritance
    object
    AggregationResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: System.Dynamic.ExpandoObject
    Syntax
    [GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
    public class AggregationResult

    Properties

    AggregationResultItems

    Items returned for the aggregation. Each item consists of a bucket with the matched value and the number of matches.
    Optionally inner aggregations for further drill down can be available.

    Declaration
    [JsonProperty("aggregationResultItems", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<AggregationResultItem> AggregationResultItems { get; set; }
    Property Value
    ICollection<AggregationResultItem>

    Name

    Name of the aggregation.

    Declaration
    [JsonProperty("name", Required = Required.Always)]
    [Required]
    public string Name { get; set; }
    Property Value
    string

    SumOtherDocCount

    When there are lots of unique terms, Elastic Search only returns the top terms; this number is the sum of the document counts for all buckets that are not part of the response.

    Declaration
    [JsonProperty("sumOtherDocCount", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public long? SumOtherDocCount { get; set; }
    Property Value
    long?

    Methods

    FromJson(string)

    Declaration
    public static AggregationResult FromJson(string data)
    Parameters
    string data

    Returns
    AggregationResult

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX