Gravatar for wvuong@captechconsulting.com

Question by wvuong, Feb 4, 2016 3:49 PM

Get Common Queries

I would like to expose a list of the top x most searched queries to the user so that they can see what is popular. I know this is available in various administration pages with Coveo, but is this exposed through the rest API?

1 Reply
Gravatar for jflheureux@coveo.com

Answer by Jean-François L'Heureux, Feb 4, 2016 4:20 PM

If you activated the Coveo Cloud Usage Analytics, you could use the TopAnalyticsSuggestions Coveo JavaScript Search Framework component to display them in the OmniBox from the analytics module.

https://developers.coveo.com/display/JsSearch/TopAnalyticsSuggestions+Component

Ask a question