---
title: boostwithfilters
slug: klevucore-reference/boostwithfilters
docTags: 
createdAt: 2023-11-09T09:45:59.073Z
---

▸ **boostWithFilters**(`boosts`): `KlevuFetchModifer`

Boost products based on a filters

### Parameters

| Name     | Type                                                                  |
| -------- | --------------------------------------------------------------------- |
| `boosts` | \{ `key`: `string` ; `values`: `string`\[] ; `weight`: `number`  }\[] |

### Returns

`KlevuFetchModifer`

### Defined in

[modifiers/boostWithFilters/boostWithFilters.ts:10](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/modifiers/boostWithFilters/boostWithFilters.ts#L10)
