Managing Query Pipelines
- What Is a Query Pipeline
- Routing Mechanisms and Rules
- Deployment Overview
- Managing Coveo ML Automatic Relevance Tuning
- Managing Coveo ML Query Suggestions
- Managing Coveo ML Event Recommendations
- Editing a Coveo ML Model Without Service Interruption
- Managing Thesaurus
- Managing Featured Results
- Managing Stop Words
- Managing Ranking Expressions
- Managing Ranking Weights
- Managing Triggers
- Managing Filters
- Managing Query Parameters
- Managing Rules and Rule Conditions
- Coding Query Pipeline Rules
- Testing Changes
- Exporting/Importing Between Organizations
Query Pipeline Deployment Overview
You can define query pipelines in your Coveo Cloud organization when you have more than one search interface with distinct users and purposes, and want to apply different rules or models for each (see What Is a Query Pipeline?) and Managing Query Pipelines).
Deploy a Query Pipeline
Choose a query pipeline routing mechanism (see Query Pipeline Routing Mechanisms and Rules). Condition-based routing is recommended.
In your Coveo Cloud organization, create a pipeline with specific rules for the desired search interface (see Managing Query Pipelines).
You can duplicate an existing pipeline and make changes rather than starting from scratch.
Depending on your chosen routing mechanism, implement your query pipeline as follows (see Query Pipeline Routing Mechanisms and Rules):
Search Hub is [SearchInterfaceName]
If you chose to hard-code your query pipeline in your search interface, see Add a Query Pipeline to a Coveo Cloud V2 Search Interface.
If you chose to add your pipeline in your search token code, edit your server-side code so that it specifies the desired pipeline name when requesting a search token (see Search Token Authentication).
Validate that the search interface now uses the new pipeline.
Test a thesaurus entry that only exists in the new pipeline.
Add a Query Pipeline to a Coveo Cloud V2 Search Interface
Access the Interface Editor for the desired search page (see Customize the Interface of a Search Page).
In the Interface Editor, click UI Settings, and then Search Interface.
In the Search Interface pane, on the Query Pipeline line, enter the name of the query pipeline that you created for this search interface.
Save and publish your change.
In the Code View, the Interface Editor adds the
data-pipeline="myPipelineName" to the element with
<div class="CoveoSearchInterface" data-pipeline="myPipelineName">