Section navigation

Public classSealed AggregationRequest

Namespace
Rowles.LeanCorpus.Search.Aggregations
Assembly
Rowles.LeanCorpus.dll

Describes a numeric aggregation to compute alongside a search query.

public sealed class AggregationRequest
Inheritance
AggregationRequest

Public constructor AggregationRequest(string, string, AggregationType)

Initialises a new AggregationRequest.

Public property Field

Numeric doc-values field to aggregate over.

Public property HistogramInterval

Histogram bucket width (only used when Type is Histogram).

Public property Name

Caller-defined label for this aggregation.

Public property Type

The kind of aggregation to compute.