atomic-segmented-facet
atomic-segmented-facet
This is for:
DeveloperThe atomic-segmented-facet
displays a horizontal facet of the results for the current query.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
Specifies an explicit list of If you specify a list of values for this option, the facet only uses these values (if they are available in the current result set). Example: The following facet only uses the
The maximum amount of allowed values is 25. The default value is |
|
|
|
|
Identifies the facet values that must appear at the top, in this order.
This parameter can be used in conjunction with the Facet values not part of the Example: The following facet will sort the If there are more than these 3 values available, the rest of the list will be sorted using
The maximum amount of custom sort values is 25. The default value is |
|
|
|
The required facets and values for this facet to be displayed. Examples:
|
|
|
|
|
|
Specifies a unique identifier for the facet. |
|
|
|
|
The field whose values you want to display in the facet. |
|
|
|
|
Whether to exclude the parents of folded results when estimating the result count for each facet value. |
|
|
|
|
The maximum number of results to scan in the index to ensure that the facet lists all potential facet values.
Note: A high injectionDepth may negatively impact the facet request performance.
Minimum: |
|
|
|
|
The non-localized label for the facet.
Used in the |
|
|
|
|
The number of values to request for this facet. Also determines the number of additional values to request each time more values are shown. |
|
|
|
|
The sort criterion to apply to the returned facet values. Possible values are 'score', 'alphanumeric', 'occurrences', and 'automatic'. |
|
|
|
|
The tabs on which this facet must not be displayed. This property should not be used at the same time as Set this property as a stringified JSON array, e.g.,
If you don’t set this property, the facet can be displayed on any tab. Otherwise, the facet won’t be displayed on any of the specified tabs. |
|
|
|
|
The tabs on which the facet can be displayed. This property should not be used at the same time as Set this property as a stringified JSON array, e.g.,
If you don’t set this property, the facet can be displayed on any tab. Otherwise, the facet can only be displayed on the specified tabs. |
|
|
Shadow Parts
Part | Description |
---|---|
|
The facet value label. |
|
The placeholder displayed when the facet is loading. |
|
The container that holds the segmented facets. |
|
The facet value. |
|
The selected facet value. |
|
The facet values container. |