
FacetResult
- Namespace
- Rowles.LeanCorpus.Search.Scoring
- Assembly
- Rowles.LeanCorpus.dll
The facet result for one field: the field name and its value-count buckets.
public sealed class FacetResult
- Inheritance
-
FacetResult
FacetResult(string, IReadOnlyList<FacetBucket>)
Initialises a new FacetResult with the given field name and buckets.
FacetResult(string, IReadOnlyList<FacetBucket>, int, int?, IReadOnlyList<DateHistogramBucket>?)
Initialises a new FacetResult with result metadata.
Buckets
Gets the returned value-count buckets in the requested order.
DateHistogramBuckets
Gets typed UTC boundaries for date histogram buckets, when this result is a date histogram.
FieldName
Gets the name of the field these facet counts are for.
MissingCount
Gets the count of matching documents without a value, when requested.
Name
Gets the logical request name for this result.
TotalBucketCount
Gets the number of buckets before offset and limit are applied.