-
Search Components
- BreadcrumbManager
- CategoryFacet
- CategoryFacetValue
- DateFacet
- DidYouMean
- Facet
- FacetManager
- FacetValue
- NoResults
- NumericFacet
- Pager
- QueryError
- RecentQueriesList
- RecentResultLink
- RecentResultsList
- Result
- ResultList
- ResultsPerPage
- SearchBox
- SearchBoxSuggestionsList
- SearchInterface
- Sort
- StandaloneSearchBox
- Summary
- Tab
- Timeframe
- TimeframeFacet
QuanticNumericFacet
The QuanticNumericFacet
component displays facet values as numeric ranges.
Example
<c-quantic-numeric-facet engine-id={engineId} facet-id="myfacet" field="ytlikecount" label="Youtube Likes" numberOfValues="5" sort-criteria="descending" range-algorithm="even" formatting-function={myFormattingFunction} is-collapsed></c-quantic-numeric-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 |
|
|
Specifies the index field whose values the facet should use. |
|
|
|
|
The non-localized label for the facet. This label is displayed in the facet header. |
|
|
|
|
The number of values to request for this facet, when there are no manual ranges. |
|
|
|
|
The sort criterion to apply to the returned facet values. Possible values are:
|
|
|
|
|
The algorithm used for generating the ranges of this facet when they aren’t manually defined.
The default value of |
|
|
|
|
The function used to format the date facet value label.
The default result format is the following: |
|
|
|
|
Whether this facet should contain an input allowing users to set custom ranges. Depending on the field, the input can allow either decimal or integer values.
|
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|
Unresolved directive in search-numeric-facet-component.adoc - include::/_includes/asciidoc/reference/quantic-search-numeric-facet-handwritten-reference.adoc[tag=1.13.10.1]