Get Started With Coveo-Powered Search Pages
Get Started With Coveo-Powered Search Pages
Most Coveo JavaScript Search Framework pages are fundamentally very similar. They typically consist in a search bar, a result list, and some facets. This page summarizes the features you can leverage and how you can get the most out of your Coveo-powered search page.
Where to Start?
1 | Select a search interface, enter keywords in the box, and click the search button to get results. [Learn more] |
2 | Review your search results. [Learn more] |
3 | Use the facets to refine your results. [Learn more] |
Features Around the Search Box
1 | Select the tab corresponding to the search interface that best fits the scope of your search. |
2 | Enter keywords representing the desired content. [Learn more] |
3 | Click the magnifying glass button to launch the search. |
4 | Click ![]() |
5 | Click Preferences to customize how search results are opened and to create filters. |
6 | Click Share Query to view, copy, and share the complete query sent to Coveo. |
Query Syntax Overview
The following table summarizes the various ways you can make more precise queries. The query syntax is especially useful when you want to leverage the metadata that Coveo makes searchable. For more information, see Coveo Query Syntax and Search Prefixes and Operators.
Example | Items returned |
---|---|
+work |
Items in which work appears. Items in which work doesn't appear, but that contain words sharing the same stem, such as workload , working , and workforce aren't returned in the search results. [Learn more]
|
"one flew over the cuckoo's nest" |
Items containing this exact phrase. [Learn more] |
|
Emails of which the from field contains alice and the to field contains john . [Learn more]
|
|
Items for which the author and title fields match the specified content. [Learn more]
|
@date>today-7d |
Items for which the date in the date field is more recent than the date calculated from the today-7d expression, i.e., seven days ago. [Learn more]
|
(report OR status) NEAR:10 financial |
Items containing the keywords matching the logic specified by the operators (AND , OR , NOT , NEAR ) and optionally parenthesis, i.e., items in which report or status appears within 10 words of the word financial . [Learn more]
|
gr?y color |
Items containing either gray or grey , as ? acts as a wildcard. [Learn more]
|
Search Results
1 | Number of results in the current page and in total. |
2 | Facet values selected. |
3 | Click Relevance or Date to change the search result sorting. |
4 | Click Clear to reset all facet selections. |
5 | Navigate to other search result pages. |
6 | Change the number of search results displayed per page. |
Search Result Templates
Each search interface includes several search result templates that are each optimized to show the most significant metadata of a given type of item. The following example shows a CRM account search result.
1 | Item type and account icon. |
2 | Account name. Click to open the account in its native application, i.e., your CRM. |
3 | Account creation date. |
4 | Account description excerpt. |
5 | Click Quick View to open an HTML version of the account information. [Learn more] |
6 | Click Details to display additional information regarding the account, such as the account owner, the account contact person, and the date on which the account information was last modified. |
In contrast, YouTube search results have a different appearance, as their most relevant metadata isn’t the same as that of CRM accounts.
Search Result Quick View
1 | Click the Quick View icon for a search result you want to review. |
2 | Click the up or down arrows next to the desired keyword to navigate in the item through occurrences of the highlighted keywords. |
3 | Click the title to open the item in its native application. |