--- title: 'Ranking expression: Query pipeline feature' slug: '1452' canonical_url: https://docs.coveo.com/en/1452/ collection: tune-relevance source_format: adoc --- # Ranking expression: Query pipeline feature A [query pipeline statement](https://docs.coveo.com/en/236/) defining the `ranking expression` [query pipeline feature](https://docs.coveo.com/en/234/) generates query ranking expressions (QRE) to increase or decrease the ranking scores of [items](https://docs.coveo.com/en/210/) appearing in certain [query](https://docs.coveo.com/en/231/) 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](https://docs.coveo.com/en/234/), grouped as [Result rankings API](https://platformdev.cloud.coveo.com/docs?urls.primaryName=Search%20API#/Result%20rankings). 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](https://docs.coveo.com/en/assets/images/coveo-platform/trigger-statements-diagram.svg) In the [Coveo Administration Console](https://docs.coveo.com/en/183/), you can manage statements representing the [`ranking expression`](https://docs.coveo.com/en/3375/) feature from the **Result Ranking** tab.