Section navigation

Public classSealed FacetRequest

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

Describes how distinct facet values for one field should be returned.

public sealed class FacetRequest : IFacetRequest
Inheritance
FacetRequest
Implements

Remarks

Counts are document-per-bucket counts. A matching document contributes at most once to each distinct value, even when a value occurs repeatedly in the document.

Public constructor FacetRequest(string, int, int, FacetBucketOrder, bool, string?)

Initialises a new FacetRequest.

Public property Field

Gets the DocValues field to facet.

Public property IncludeMissing

Gets whether documents without a value should be counted.

Public property Limit

Gets the maximum number of buckets to return. Zero means no buckets.

Public property Name

Gets the logical result name.

Public property Offset

Gets the number of ordered buckets to skip.

Public property Order

Gets the ordering applied before paging.