Coveo Advanced Search
Coveo Advanced Search
Legacy feature
This article pertains to the Coveo Hive framework which is now in maintenance mode. Choose one of Coveo’s more modern, lightweight, and responsive libraries for any future search interface development. See the search interface Implementation guide for more details. |
Implements the Coveo JavaScript Search Framework AdvancedSearch component which renders an Advanced Search item in the Settings popup menu.
When a website visitor selects the Advanced Search option, a wizard modal is displayed to ease the creation of a complex query.
Usage notes
-
As soon as a user closes the Advanced Search wizard modal, a request with the generated advanced query expression (
aq
) is sent to the search API.
Insertion location
Coveo Hive
The Coveo Advanced Search rendering is an Allowed Control in the following placeholder(s): Searchbox Options
Coveo Hive SXA
Coveo for Sitecore SXA rendering insertion locations aren't limited by placeholder Allowed Controls. The Coveo Advanced Search rendering may therefore be inserted throughout the partial design, whether in Coveo for Sitecore or Sitecore placeholders.
To ease rendering management, group Coveo Advanced Search, Coveo Export To Excel, Coveo Preferences Panel and Coveo Share Query renderings together near your Coveo Settings Button rendering.
Data source options
The following table lists the available data source options for this rendering.
Option name | Description |
---|---|
Include Date section |
See the includeDate component option. |
Include Document section |
See the includeDocument component option. |
Include Keywords section |
See the includeKeywords component option. |
Additional data attributes |
Allows use of the Coveo JavaScript Search Framework AdvancedSearch component options that aren’t directly available in the data source. |
Sample Generated HTML and Corresponding Result
Generated HTML:
<div class="CoveoAdvancedSearch">
</div>
Advanced Search Wizard User Settings:
Corresponding Advanced Expression: