QuanticTimeframeFacet
QuanticTimeframeFacet
The QuanticTimeframeFacet
component displays dates as relative ranges.
Example
<c-quantic-timeframe-facet engine-id={engineId} field="Date" label="Indexed Date" is-collapsed with-date-picker>
<c-quantic-timeframe period="past" unit="year" amount="10" label="Past decade"></c-quantic-timeframe>
</c-quantic-timeframe-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 |
|
|
The index field whose values the facet should use. |
|
|
|
|
The non-localized label for the facet. This label is displayed in the facet header. |
|
|
|
|
Whether the facet should display custom range inputs. |
|
|
|
|
Whether the facet is collapsed. |
|
|
|
|
Whether not 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: |
|
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|