Section navigation

Public classSealed DateRangeFacetRequest

Namespace
Rowles.LeanCorpus.Search.Scoring
Assembly
Rowles.LeanCorpus.dll

Requests explicitly defined UTC Unix-millisecond date facet ranges.

public sealed class DateRangeFacetRequest : IFacetRequest
Inheritance
DateRangeFacetRequest
Implements

Public constructor DateRangeFacetRequest(string, IReadOnlyList<DateRange>, int, int, FacetBucketOrder, bool, string?)

Initialises a date range facet request.

Public property Field

Gets the field or dimension to facet.

Public property IncludeMissing

Gets whether matching documents without a value are counted.

Public property Limit

Gets the maximum number of buckets to return.

Public property Name

Gets the logical result name. Defaults to the source field.

Public property Offset

Gets the number of ordered buckets to skip.

Public property Order

Gets the ordering applied before paging.

Public property Ranges

Gets the date ranges expressed as absolute instants.