/
Configuring the Maximum Number of Search History Queries
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.
Configuring the Maximum Number of Search History Queries
When the search history is enabled in WSO2 Enterprise Store (ES), the users search history is listed down automatically when a user types matching words in the Publisher or Store search box. A user can traverse through the suggested search history and pick a suggested search query, and thereby reuse their search queries.
The number of search queries listed in the automatic search history list can be altered by following the instructions below:
The search query limit of the search history can not be changed in the Publisher.
- Sign into the WSO2 ES Management Console.
- Navigate to the Main menu and click Browse, which is listed under the Resource menu.
- Navigate to the
/_system/config/store/configs/store.json
registry resource file by clicking the following.
_system > config > store > configs > store.json - Click Edit as text.
- Edit the
maxCount
to change the maximum number of search history entries saved in the system.
The maxCount is set to 5 by default, which means that by default 5 search queries are listed per asset type in the search history. - Click Save Content.
- Gracefully restart the WSO2 ES server.
For more information on gracefully restarting the server, see Shutting Down and Restarting the Server.
What's Next?
, multiple selections available,
Related content
Enabling or Disabling the Search History
Enabling or Disabling the Search History
More like this
Working with Search History Configurations
Working with Search History Configurations
More like this
Searching for an Asset in the Store
Searching for an Asset in the Store
More like this
About this Release
About this Release
More like this
Search for Records via the Management Console
Search for Records via the Management Console
More like this
Search for Records via the Management Console
Search for Records via the Management Console
More like this
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.