Table of Contents

Public classSealed AggregationRequest

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

Describes a numeric aggregation to compute alongside a search query.

public sealed class AggregationRequest
AggregationRequest

Constructors

Public constructor AggregationRequest(string, string, AggregationType)

Initialises a new AggregationRequest.

Properties

Public propertyRead-only Field

Numeric doc-values field to aggregate over.

Public property HistogramInterval

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

Public propertyRead-only Name

Caller-defined label for this aggregation.

Public propertyRead-only Type

The kind of aggregation to compute.