QuanticSearchInterface Component
QuanticSearchInterface Component
The QuanticSearchInterface
component handles the headless search engine and localization configurations.
A single instance should be used for each instance of the Coveo Headless search engine.
The timezone
used in the search engine options is taken from the Time Zone settings of the Salesforce org.
It is used to correctly interpret dates in the query expression, facets, and result items.
The locale
used in the search engine options is taken from the Language Settings.
Coveo Machine Learning models use this information to provide contextually relevant output.
Moreover, this information can be referred to in query expressions and QPL statements by using the $locale
object.
Example
<c-quantic-search-interface engine-id={engineId} search-hub="myhub" pipeine="mypipeline" disable-state-in-url skip-first-search></c-quantic-search-interface>
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The ID of the engine instance the component registers to. |
|
|
|
|
The search interface search hub. |
|
|
|
|
The search interface query pipeline. |
|
|
|
|
Whether the state should not be reflected in the URL parameters. |
|
|
|
|
Whether not to perform a search once the interface and its components are initialized. |
|
|
XML Configuration File Elements
The following XML configuration file elements apply (see XML Configuration File Elements).
Metadata | Value |
---|---|
|
|
|
|