
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.
FacetRequest(string, int, int, FacetBucketOrder, bool, string?)
Initialises a new FacetRequest.
Field
Gets the DocValues field to facet.
IncludeMissing
Gets whether documents without a value should be counted.
Limit
Gets the maximum number of buckets to return. Zero means no buckets.
Name
Gets the logical result name.
Offset
Gets the number of ordered buckets to skip.
Order
Gets the ordering applied before paging.