Manage query pipelines
Manage query pipelines
You can use the Query Pipelines (platform-ca | platform-eu | platform-au) page in the Administration Console navigation menu to manage the thesaurus, result ranking, featured result, stop word, ranking expression, ranking weight, and trigger rules as well as Coveo Machine Learning (Coveo ML) models of a Coveo organization (see What’s a query pipeline?). This allows you to optimize search results relevance and search experience in general.
Create a query pipeline
-
On the Query Pipelines (platform-ca | platform-eu | platform-au) page, click Add Pipeline.
-
In the Add a Query Pipeline panel that opens, select the Configuration tab.
-
Enter a Pipeline name.
This name appears as the title of your pipeline page and can be used to enforce the pipeline in the search token or in the search interface (see Query pipeline routing mechanisms and rules).
-
(Optional) Enter a Description for the query pipeline to help Administration Console members understand its purpose.
-
(Optional) Select a Use case to categorize your query pipeline.
-
Under Condition, select or create an appropriate query pipeline condition to apply.
-
In the Interface URL section, you can optionally define the URLs of the search interfaces that use this query pipeline.
-
In the Access tab, set whether each group (and API key, if applicable) in your Coveo organization can view or edit the current pipeline.
For example, when creating a new pipeline, you could decide that members of Group A can edit its configuration while Group B can only view it.
See Custom access level for more information.
-
Click Add Pipeline.
If you have the Enterprise edition, group this query pipeline and your other implementation resources together in a project. See Manage projects. |
Manage query pipelines
On the Query Pipelines (platform-ca | platform-eu | platform-au) page, you can:
Test a query pipeline in the Content Browser
Click the query pipeline that you want to test, and then click More > Open in Content Browser in the Action bar.
On the Content Browser (platform-ca | platform-eu | platform-au) page, you can perform queries to validate the behavior of this specific pipeline.
Export and import query pipeline rules and/or models
Set a query pipeline as the default one
Click the query pipeline that you want to set as the default one, and then click More > Set as default in the Action bar.
The tag appears in the Info column for this pipeline.
The default query pipeline is used when the condition of no other pipeline matches the query (see Query pipeline routing mechanisms and rules).
Note
There’s always one and only one pipeline configured as the default pipeline identified with the Default tag. You can’t remove the default pipeline without first setting another pipeline as the default pipeline. |
Make sure that no condition is set on the default pipeline. |
Edit the condition on a query pipeline
-
On the Query Pipelines (platform-ca | platform-eu | platform-au) page, click the desired query pipeline, and then click Edit components in the Action bar.
-
On the page that opens, select the Overview tab.
-
Under Condition, click X next to the condition to remove the current condition.
-
Optionally, select or create a condition to replace the one you removed.
-
Click Save.
Rename a query pipeline
-
On the Query Pipelines (platform-ca | platform-eu | platform-au) page, click the desired query pipeline, and then click Edit components in the Action bar.
-
On the page that opens, select the Overview tab.
-
Under Pipeline name, you can change the query pipeline name.
-
Click Save.
Note
If you want to rename a query pipeline used in production, you should do so by creating an A/B test. That’s because you need to update all references to the old query pipeline name, lest you break your search solution. For example, if you set the pipeline name in search tokens, you’ll need to update it and test that everything works as desired. |
Duplicate a query pipeline
Notes
|
-
On the Query Pipelines (platform-ca | platform-eu | platform-au) page, click the query pipeline that you want to copy, and then click Duplicate in the Action bar.
On the Pipelines page, a copy of the pipeline is created.
-
Edit the duplicated pipeline to give it a more meaningful name (see Rename a query pipeline).
Delete a query pipeline
-
On the Query Pipelines (platform-ca | platform-eu | platform-au) page, click the query pipeline that you want to remove, and then click Delete in the Action bar.
-
In the confirmation prompt that appears, click Delete.
Notes
|
Manage query pipeline components
-
On the Query Pipelines (platform-ca | platform-eu | platform-au) page, click the desired query pipeline, and then click Edit components in the Action bar.
-
On any pipeline page, you can add and manage query pipeline:
Deploy a query pipeline
You can define query pipelines in your Coveo organization when you have more than one search interface with distinct users and purposes, and you want to apply different rules or models for each search interface.
-
Choose a query pipeline routing mechanism. We recommend that you use condition-based routing.
-
In your Coveo organization, create a query pipeline with specific rules for the desired search interface.
Leading practiceYou can duplicate an existing query pipeline and make changes instead of creating a new one.
-
Add a condition for the pipeline to be used when a query comes from your search interface.
ExampleSearch Hub is
External Search
. -
Validate that the search interface uses the new query pipeline.
ExampleTest a query pipeline rule that only exists in the new query pipeline.
Required privileges
The following table indicates the privileges required to view or edit elements of the Query Pipelines (platform-ca | platform-eu | platform-au) page (see Manage privileges and Privilege reference).
Action | Service - Domain | Required access level |
---|---|---|
View query pipelines |
Organization - Organization |
View |
Add, edit, and delete query pipelines |
Organization - Organization |
View |
Search - Query pipelines |
Edit |
Note
The ability to create query pipelines can be granted independently from the Edit all access level (see Can Create ability dependence). You can therefore grant a group or an API key the View all or Custom access level for query pipelines and check the Can Create checkbox to allow users to create query pipelines. |
The privileges required to view or edit query pipeline rules differ depending on the type of rule you want to manage.
Refer to the following links to learn more about the privileges required to view or edit a given type of rule: