--- title: Filter and boost using query pipelines slug: lb295160 canonical_url: https://docs.coveo.com/en/lb295160/ collection: coveo-for-sitecore-v5 source_format: adoc --- # Filter and boost using query pipelines > **Legacy feature** > > This article pertains to achieving relevance with the Coveo Hive framework. > Coveo Hive is now in maintenance mode. > > See [Achieve relevance](https://docs.coveo.com/en/n9qd0318/) for guidance on leveraging [Coveo Platform](https://docs.coveo.com/en/186/) relevance features with the Coveo Atomic library. This article provides instructions on how to create filtering and boosting rules in query pipelines. You might well decide to create several query pipelines, based on your specific requirements. You can then decide upon the best query pipeline mapping strategy. For example, you might want to associate a search interface to a specific query pipeline (as explained in this article) or use a more dynamic, condition-based pipeline routing approach (see [Route search queries to query pipelines](https://docs.coveo.com/en/2724/)). ## Query pipeline filtering . [Create a query pipeline](https://docs.coveo.com/en/1791#create-a-query-pipeline) in the Coveo Administration Console. For now, don't create a condition. Stop after step 4. . In your query pipeline, [add a filter rule](https://docs.coveo.com/en/3410#add-or-edit-filter-rules). **Example** To ensure only Sitecore items associated with a layout appear in the results list, the query expression would look like the following. ![Administration Console Query Pipelines Advanced tab displaying filter configuration with aq query parameter and `@haslayout==1` filter condition | Coveo](https://docs.coveo.com/en/assets/images/c4sc-v5/query-pipeline-filter.png) > **Important** > > Use the Coveo field name (also called the _Translated Name_), not the Sitecore field name, when creating query expressions (see [About the Indexing Manager - Fields](https://docs.coveo.com/en/2566#fields)). . In the **Experience Editor**, on the **Coveo Search Interface** rendering floating toolbar, select the **Edit the rendering's data source** option. . In the **Query Settings** section, enter the name of your pipeline in the `Query pipeline` field. ## Query pipeline boosting There are several result boosting methods available in query pipelines. Boosting results based on a ranking expression is one of them (see [Manage ranking expression rules](https://docs.coveo.com/en/3375#create-or-edit-ranking-expression-rules)). **Example** You have a Sitecore website about world lakes. Your lake items contain a `Depth` field. When your visitors land on a page that describes a deep lake, you might like to promote other lake items with comparable depths. ![Screenshot of a query pipeline result ranking rule where the modifier is plus 100 when at depth is greater than 160 | Coveo](https://docs.coveo.com/en/assets/images/c4sc-v5/query-pipeline-ranking-expression.png) > **Important** > > Use the Coveo field name (also called the _Translated Name_), not the Sitecore field name, when creating query expressions (see [About the Indexing Manager - Fields](https://docs.coveo.com/en/2566#fields)).