Build Query Pipelines
- What's a Query Pipeline
- Routing Mechanisms and Rules
- Deploy a Query Pipeline
- Order of Execution of Query Pipeline Features
- Troubleshoot Query Pipeline Rules
- Manage Query Pipeline Rules
- Code Query Pipeline Rules
- Test Query Pipeline Changes
- Export and Import Query Pipeline Elements
- Query Pipeline Language (QPL)
What's a Query Pipeline?
In your Coveo organization, a query pipeline is an alternate set of rules or model associations that can be defined to modify queries. You can define query pipelines from the Coveo Administration Console (see Manage Query Pipelines).
You can take advantage of query pipelines when you have more than one search interface with distinct users and purpose and want to apply different rules or models for each.
Your customers and partners use your community portal to self-serve and find relevant information, while your support agents access an internal service portal to find relevant public and private items. You can create a separate pipeline for each portal, defining appropriate rules for each search interface audience.
You can also use query pipeline A/B testing to evaluate rule or model changes on a part of the users (see Manage A/B Tests).
Query pipeline rules can define:
Advanced query pipeline rules
Filters - adding hidden query expressions to all queries that go through the query pipeline.
Query parameters - overriding search parameter values for every query that goes through the query pipeline.
Ranking weights - establishing the impact of ranking factors when establishing the order of results.
Triggers - establishing actions to be performed in the user search interface following an event when a condition is met.
Some rules can be applied on the query before it’s sent to the index (like thesaurus and stop words), while others are applied on the results returned by the index before they’re sent back to the search interface (like featured results and ranking rules).
Query pipeline associated models can define:
Automatic Relevance Tuning (ART) - optimizing search results relevance based on user search behavior.
Query Suggestions - suggesting queries to users as they type in a search box.
Event Recommendations - predicting and proposing the most relevant content for the current user in the current session.
Product Recommendations (PR) - relevantly suggest products to end users navigating Coveo-powered commerce solutions.
Understand how to create and use a query pipeline (see Deploy a Query Pipeline).