DomainFacetsSpec<TColumn, TId, TKind>
Defined in: js-api/src/domains.ts:400
Spec for domain table facets: one request computes every facet in a single round
trip. Category counts, histogram buckets, and 'count' are computed under filter with the
conditions on that facet's own column stripped, so a filter control shows counts under all
OTHER filters (classic faceted search). Exception: 'minMax', 'plan', and histogram BOUNDS
are computed under the row predicate only — the stable-axis rule ignores filter so a
narrowing filter never re-derives the axis. At most 32 facets per request.
Type Parameters
| Type Parameter | Default type |
|---|---|
TColumn extends string | string |
TId extends string | string |
TKind extends DomainFacetKind | DomainFacetKind |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
facets | DomainFacetSpec<TColumn, TId, TKind>[] | - | js-api/src/domains.ts:404 |
filter? | DomainFilter<TColumn> | Smart string, single condition, or condition tree; omit for unfiltered counts. | js-api/src/domains.ts:403 |