| Field | Type | Required | Description | Example |
|---|---|---|---|---|
sourceName |
Optional<String> | ➖ | The source of this facet (e.g. container_name, type, last_updated_at). | container_name |
operatorName |
Optional<String> | ➖ | How to display this facet. Currently supportes 'SelectSingle' and 'SelectMultiple'. | SelectMultiple |
buckets |
List<FacetBucket> | ➖ | A list of unique buckets that exist within this result set. | |
hasMoreBuckets |
Optional<Boolean> | ➖ | Returns true if more buckets exist than those returned. Additional buckets can be retrieve by requesting again with a higher facetBucketSize. | false |
groupName |
Optional<String> | ➖ | For most facets this will be the empty string, meaning the facet is high-level and applies to all documents for the datasource. When non-empty, this is used to group facets together (i.e. group facets for each doctype for a certain datasource) | Service Cloud |