> For the complete documentation index, see [llms.txt](https://docs.hyper-space.io/hyperspace-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hyper-space.io/hyperspace-docs/api-documentation/dsl-query-framework/scoring-and-ranking/boost.md).

# Boost

The "boost" clause allows you to control the relevance or importance of specific conditions within a search query through manipulation of scores. The "boost" clause is often employed when certain criteria or attributes should carry more weight in the search results, allowing for fine-tuned control over the relevance scoring.

**Example**

{% code lineNumbers="true" %}

```python
{
  "query": {
    "constant_score": {
      "filter": {
        "term": {
          "City": "Washington"
        }
      },
      "boost": 1.5
    }
  }
}
```

{% endcode %}

In the above example, the boost cause is used to specify constant score. If a document has a field named "City" with a value "Washington", the score will be 1.5. The score will otherwise be zero. This is regardless of rarity.
