Class AggregationResult
Inheritance
AggregationResult
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
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
Declaration
[JsonProperty("name", Required = Required.Always)]
[Required]
public string Name { get; set; }
Property Value
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
Methods
Declaration
public static AggregationResult FromJson(string data)
Parameters
Returns