Ranking expression: Query pipeline feature

A query pipeline statement defining the ranking expression query pipeline feature generates query ranking expressions (QRE) to increase or decrease the ranking scores of items appearing in certain query result sets by a specific amount.

Typically, a ranking expression statement should only apply when a condition is met. This means you should associate such a statement, and/or the query pipeline it’s defined in, to a condition.

Note

Th QPL rule ranking has been replaced by the ranking expression query pipeline feature, grouped as Result rankings API.

Example

To promote products ahead of other content, you define a ranking expression statement that adds 350 to the ranking score of items whose @resourcetype field value is Products.

The following diagram shows the process of a query being sent to the Search API and the order of execution of query pipeline features.

Coveo | diagram showing order of execution

In the Coveo Administration Console, you can manage statements representing the ranking expression feature from the Result ranking tab.