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

engineId (required)

engine-id

The ID of the engine instance the component registers to.

string

searchHub

search-hub

The search interface search hub.

string

'default'

pipeline

pipeline

The search interface query pipeline.

string

'default'

disableStateInUrl

disable-state-in-url

Whether the state should not be reflected in the URL parameters.

boolean

false

skipFirstSearch

skip-first-search

Whether not to perform a search once the interface and its components are initialized.

boolean

false

XML Configuration File Elements

The following XML configuration file elements apply (see XML Configuration File Elements).

Metadata Value

apiVersion

53.0

isExposed

false