Table of Contents

Public classSealed AggregationResult

Namespace
Rowles.LeanLucene.Search.Aggregations
Assembly
Rowles.LeanLucene.dll

Result of a numeric aggregation over matching documents.

public sealed class AggregationResult
AggregationResult

Public property Avg

Gets the average value across all matching documents.

Public property Buckets

Histogram buckets (non-null only for Histogram aggregations).

Public property Count

Gets the number of documents that had a value for the aggregated field.

Public property Field

Gets the numeric field that was aggregated.

Public property Max

Gets the maximum value found across matching documents.

Public property Min

Gets the minimum value found across matching documents.

Public property Name

Gets the caller-assigned name of this aggregation result.

Public property Sum

Gets the sum of values across all matching documents.

Public method Empty(string, string)

An empty/no-data result.