AggregationResult
- Namespace
- Rowles.LeanCorpus.Search.Aggregations
- Assembly
- Rowles.LeanCorpus.dll
Result of a numeric aggregation over matching documents.
public class AggregationResult
- Inheritance
-
AggregationResult
- Derived
Remarks
Count counts every observed numeric value, including non-finite IEEE-754 values. For Stats aggregations, a NaN value propagates to the extrema, sum and average; positive and negative infinity are retained using normal IEEE-754 arithmetic.
Avg
Gets the average of all observed numeric values included in the aggregation.
Buckets
Histogram buckets (non-null only for Histogram aggregations).
Count
Gets the number of observed numeric values included in the aggregation.
Field
Gets the numeric field that was aggregated.
Max
Gets the maximum observed numeric value included in the aggregation.
Min
Gets the minimum observed numeric value included in the aggregation.
Name
Gets the caller-assigned name of this aggregation result.
Sum
Gets the sum of all observed numeric values included in the aggregation.
Empty(string, string)
An empty/no-data result.