---
title: Boost
---
## Basic Usage
A boost query wraps around another query to amplify its scoring impact, without altering the set of matched documents.
```sql Function Syntax
SELECT description, rating, category, pdb.score(id)
FROM mock_items
WHERE id @@@ paradedb.boolean(
  should => ARRAY[
    paradedb.term('description', 'shoes'),
    paradedb.boost(2.0, paradedb.term('description', 'running'))
  ]
);
```
```sql JSON Syntax
SELECT description, rating, category, pdb.score(id)
FROM mock_items
WHERE id @@@
'{
    "boolean": {
        "should": [
            {"term": {"field": "description", "value": "shoes"}},
            {"boost": {"factor": 2.0, "query": {"term": {"field": "description", "value": "running"}}}}
        ]
    }
}'::jsonb;
```
  The factor by which to multiply the score of each result.
  The query to perform.