Top Trending
Top Trending Queries
Top Trending Queries displays the most frequently searched terms to users, helping guide them toward popular content. Follow the steps below to enable and configure this feature.
-
This is an on-demand feature that can be configured using a custom UI provided by SearchBlox. Contact [email protected] to enable it.
-
To view Top Trending Queries, enable the feature by editing the facet.js file in your plugin folder:
- Add the line: "showTopQueriesTrending": true
- Set "topQuery" to true
- Provide your server’s API key from the Admin tab in the SearchBlox admin console
- Change "limit" to set how many top trending queries you want to display
- Save the facet.js file.
"showTopQueriesTrending": true,
"topQuery": true,
"topQueryFields":{
"apikey":"123456789",
"col":"",
"limit":"5"
},
- Open the link: https://localhost:8443/<plugin_name>/index.html
- The top trending queries will be displayed in the search box.

