> ## Documentation Index
> Fetch the complete documentation index at: https://www.mintlify.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Search

> Configure the in-product search bar on your Mintlify documentation site, including ranking boosts and the number of results returned per query.

Configure how the search bar on your Mintlify-hosted documentation site behaves. These settings only affect in-product search. They do not change how external search engines index your pages.

## Boost search ranking

Use `boost` to bias the in-product search ranking of specific pages or sections. The value is a numeric multiplier applied to each chunk's relevance score: `boost: 3` makes a chunk three times as relevant as it would be without a boost.

### Boost a single page

Set `boost` in a page's [frontmatter](/organize/pages) to multiply its search ranking.

```mdx theme={null}
---
title: "Custom domain"
description: "Connect your custom domain to your Mintlify documentation."
boost: 3
---
```

### Boost a navigation group

Set `boost` on a group in your `docs.json` navigation to apply the multiplier to every page under it.

```json theme={null}
{
  "navigation": {
    "groups": [
      {
        "group": "Get started",
        "boost": 5,
        "pages": [
          "quickstart",
          "concepts"
        ]
      }
    ]
  }
}
```

A page inherits the boost factor from its nearest ancestor that sets one. A child page or nested group can override the inherited boost by setting its own `boost` value. A page's frontmatter `boost` always wins over a value inherited from the navigation.

### De-prioritize content

Use a value below `1` to push pages further down in search results. For example, `boost: 0.5` halves a page's relevance score relative to other pages. A `boost` of `1` is equivalent to no boost.

```mdx theme={null}
---
title: "Deprecated API"
description: "Documentation for the deprecated v1 API."
boost: 0.25
---
```

<Note>
  Boost factors compose with the existing relevance score. Use them sparingly. Large multipliers can cause less-relevant pages to dominate search results and degrade overall search quality.
</Note>

## Maximum search results

Control how many results the search bar returns per query from your dashboard. The default is `6` results. You can set any value between `1` and `100`.

In your dashboard, navigate to **Settings** > **Deployment** > **Search**, set **Maximum search results** to the value you want, and select **Save changes**.

<Frame>
  <img alt="The Search settings page in the dashboard with the Maximum search results stepper set to 6." className="block dark:hidden" src="https://mintcdn.com/mintlify/nQsqOKYXFsfTuyVh/images/search-settings-light.png?fit=max&auto=format&n=nQsqOKYXFsfTuyVh&q=85&s=aab658c8fe300918bb391995c9d0599e" width="1534" height="1185" data-path="images/search-settings-light.png" />

  <img alt="The Search settings page in the dashboard with the Maximum search results stepper set to 6." className="hidden dark:block" src="https://mintcdn.com/mintlify/nQsqOKYXFsfTuyVh/images/search-settings-dark.png?fit=max&auto=format&n=nQsqOKYXFsfTuyVh&q=85&s=f142759a815f3484c6fd762366a2a5bd" width="1534" height="1185" data-path="images/search-settings-dark.png" />
</Frame>

Higher values surface more matches per query, which is useful for sites with broad topic coverage where users expect to scan many candidates. Lower values keep the results panel compact and push users toward the top-ranked match.


## Related topics

- [Custom scripts](/docs/customize/custom-scripts.md)
- [Analytics integrations](/docs/integrations/analytics/overview.md)
- [Analytics](/docs/optimize/analytics.md)
