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

    Default

    single_facet_limit

    The maximum number of displayed search items for a single facet.

    25

    grouping_facet_limit

    The maximum number of displayed search items for a grouping of facets.

    25

    total_facet_limit

    The maximum number of displayed search items for all facets.

    100

    full_text_token_limit

    The total number of tokens generated in a search. The recommended value range is 10 to 50.

    40

    full_text_char_limit

    The maximum number of characters in a single full-text search token. The recommended value range is 50 to 300.

    300

    full_text_id_char_limit

    The maximum number of characters in a single full-text search ID. The recommended value range is 5 to 25.

    10

    full_text_ids_limit

    The maximum number of IDs in a full-text search. The recommended value range is 50 to 250.

    200

    full_text_max_expansions_limit

    The maximum number of terms that the last provided term of the query can expand to. For example, a search for the term camp on the product field examines all terms in the product field looking for those that begin with the letters camp and combines them into a query (for example, camp, camps, camper, camping, campsite, 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 (".").

    StartsWith

    disable_reindexing

    Turns off reindexing in the search feature.

    Selected

Do you have some feedback for us?

If you have suggestions for improving this article,