---
title: "Search restrictions"
slug: "search-restrictions"
abstract: "Overview of the restrictions you can apply to the search configuration to limit the number of results displayed through a search or by selecting a facet."
---
# Search restrictions

> [!note]
> To configure Content Hub, you must either be a superuser or have the necessary permissions granted to you through [user group policies](https://doc.sitecore.com/ch/en/users/content-hub/user-group-policies.html "User group policies").

In Sitecore Content Hub, you can apply restrictions to [search facets](https://doc.sitecore.com/ch/en/users/content-hub/facets.html "Facets") and [full-text searches](https://doc.sitecore.com/ch/en/users/content-hub/full-text-search-behavior.html "Full-text search behavior"). For example, you can limit the number of items displayed by a search facet, limit the length of a full-text search token, or turn off search reindexing.

To configure search restrictions:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Settings**.
3. On the **Settings** page, click *SearchConfiguration* and then click *RestrictionsConfiguration*.
4. Make the required changes to the following fields. When you have finished, click **Save**.

    | Field | Description | Example | Default |
    | --- | --- | --- | --- |
    | `single_facet_limit` | The maximum number of facets that can be selected. | NA | 25 |
    | `grouping_facet_limit` | The maximum number facets that can be grouped in a super facet. | NA | 25 |
    | `total_facet_limit` | The maximum number of displayed search items for all facets. | NA | 100 |
    | `full_text_token_limit` | The maximum number of tokens allowed.<br><br>A full-text search token equals one word in a search string and is considered as a separate search term.<br><br>The recommended range is 10 to 50. | *Quick brown fox* is equal to three tokens. | 40 |
    | `full_text_char_limit` | The maximum number of characters in a single full-text search token.<br><br>The recommended range is *50 to 300*. | *Quickbrownfox* is equal to 13 characters. | 300 |
    | `full_text_id_char_limit` | The maximum number of characters in a single full-text search ID. The recommended range is *5 to 25*. | *id=quickbrownfox* is equal to 1 ID of 13 characters. | 10 |
    | `full_text_ids_limit` | The maximum number of IDs in a full-text search token if full-text search filtering is applied. The recommended range is *50 to 250*. | *id=quickbrownfox,lazydog* is split into two IDs: one ID of 13 characters and one ID of 7 characters. | 200 |
    | `full_text_max_expansions_limit` | The maximum number of terms that the last provided term of the query can expand to. | With a search for the term *quick bro*, Content Hub will look for words that begin with the letters *quick bro*, such as *quick broccoli bake*, *quick brown fox*, *quick bromine reaction*, and so on, working in alphabetical (lexicographic) order, up to the `full_text_max_expansions_limit`. | 50 |
    | `wildcard_mode` | The [wildcard](https://doc.sitecore.com/ch/en/users/content-hub/full-text-search-behavior.html) behavior in full-text searches. The available options are:<br><br><ul><li>*StartsWith* - treats the search term as if it ends with an asterisk, without one needing to be included.</li><li>*Match* - evaluates wildcards written in the search term, but does not consider there is a wildcard at the start or end of the term unless explicitly included.</li><li>*Contains* - treats the search term as if it begins and ends with an asterisk, without either needing to be included. Does not support exclusions and considers any non-alphanumeric character a special character, except periods (".").</li></ul> | NA | *StartsWith* |
    | `disable_reindexing` | Turns off reindexing in the search feature. | NA | *Selected* |
    | `allow-thumbnail-resize` | Enables [thumbnail resizing in grid views](https://doc.sitecore.com/ch/en/users/content-hub/change-thumbnail-size.html). | NA | *Selected* |
    | `max-thumbnail-size` | The largest thumbnail size in pixels, allowed by the slider. If you have larger or smaller thumbnails, you can adjust to match your thumbnail rendition size. | NA | 400 |