Section navigation

Public structRead-only FacetBucket

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

A single facet bucket: a field value, or the opt-in missing value, and its document count.

public readonly record struct FacetBucket : IEquatable<FacetBucket>
Implements

Public constructor FacetBucket(string, int)

A single facet bucket: a field value, or the opt-in missing value, and its document count.

Public property Count

The number of matching documents that have this field value.

Public property IsMissing

Gets whether this bucket represents documents without a value.

Public property Value

The field value represented by this bucket.

Public method Missing(int)

Creates a bucket representing documents without a value.