ui.modern.session.search_history.suggest

Background

This setting controls whether the search history should be returned with auto-completion suggestions.

When enabled, a new category of suggestions will be added to the auto-completion suggestions, containing the previous queries of the user. The name of the category can be customized with ui.modern.session.search_history.suggest.category setting and the display template of each query can be customized with ui.modern.session.search_history.suggest.display_template setting

Setting the key

Set this configuration key in the results page (preferred) or search package configuration.

Use the configuration key editor to add or edit the ui.modern.session.search_history.suggest key, and set the value. This can be set to any valid Boolean value.

Default value

The default is to not return search history suggestions:

ui.modern.session.search_history.suggest=false

Examples

Enable search history suggestions:

ui.modern.session.search_history.suggest=true