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.

  1. Sign into the WSO2 ES Management Console.
  2. Navigate to the Main menu and click Browse, which is listed under the Resource menu.
  3. Navigate to the /_system/config/store/configs/store.json registry resource file by clicking the following.
     _system > config > store > configs > store.json
  4. Click Edit as text.
  5. 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.
  6. Click Save Content.
  7. Gracefully restart the WSO2 ES server. 
    For more information on gracefully restarting the server, see Shutting Down and Restarting the Server.

What's Next?

See Searching for an Asset in the Store to learn how to use the search history feature in the Store.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.