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.

In Sitecore Content Hub, you can apply restrictions to search facets and full-text searches. 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 cog icon.

  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.

    A full-text search token equals one word in a search string and is considered as a separate search term.

    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.

    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 behavior in full-text searches. The available options are:

    • StartsWith - treats the search term as if it ends with an asterisk, without one needing to be included.

    • 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.

    • 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 (".").

    NA

    StartsWith

    disable_reindexing

    Turns off reindexing in the search feature.

    NA

    Selected

    allow-thumbnail-resize

    Enables thumbnail resizing in grid views.

    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

Do you have some feedback for us?

If you have suggestions for improving this article,