QuanticCategoryFacet Component
QuanticCategoryFacet Component
A facet is a list of values for a certain field occurring in the results, ordered using a configurable criterion (for example, number of occurrences).
A QuanticCategoryFacet
displays field values in a browsable, hierarchical fashion.
Example
<c-quantic-category-facet engine-id={engineId} facet-id="myfacet" field="geographicalhierarchy" label="Country" base-path="Africa,Togo,Lome" no-filter-by-base-path delimiting-character="/" number-of-values="5" is-collapsed></c-quantic-category-facet>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The ID of the engine instance the component registers to. |
|
|
|
|
A unique identifier for the facet.
Defaults to the |
|
Defaults to the |
|
|
The field whose values you want to display in the facet. |
|
|
|
|
The non-localized label for the facet. This label is displayed in the facet header. |
|
|
|
|
The base path shared by all facet values, separated by commas. |
|
|
|
|
Whether not to use the |
|
|
|
|
Whether not to exclude the parents of folded results when estimating the result count for each facet value. |
|
|
|
|
The character that separates the values of the target multi-value field.
If the field is defined as "hierarchical", parts of a path are delimited by |
|
|
|
|
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:
|
|
|
|
|
Whether this facet should contain a search box. |
|
|
|
|
Whether the facet is collapsed. |
|
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|