Query Pipeline Routing Mechanisms and Rules

All queries sent to your Coveo Cloud organization go through a query pipeline (see What Is a Query Pipeline?). You can use different mechanisms to determine into which query pipeline queries are routed.

The choice of the mechanism depends essentially on how easily you can get a developer to change code in your Coveo setup and if you want to take advantage of the routing flexibility that query pipeline conditions offer. The following table summarizes the main routing mechanism selection criteria.

Selection criteria   Query pipeline routing mechanisms
Query pipeline conditions Search token Hard-coded in search interface
Routing priority 3 1 2
Implementation by Coveo Cloud administrator Developer Developer
Implementation in Coveo Cloud administration console Search token Search interface code
Applies to all queries Matching a condition With the token From the search interface
Dynamic routing Yes No No
Client-side modification No No Yes

Review the following leading practices and rules to better understand how queries are routed to a given query pipeline and which mechanism is the best for your needs.