One of our customers would like particular search suggestions to be removed. These appear when typing into the search bar as we have developed the code to display the top 3 search suggestions. Of course they can create their own in the editor, the ones I am referring to are the tracked suggestions which come from user data. These do not appear in the Find UI for the editor to manage.The problem is because users may search for various things on the site, the search suggestions are not necessarily accurate for the keyword or worse may contain profanity.So for the only thing I can think of is removing user generated suggestions and only using editorial ones; however this would remove good suggestions potentially from the site.
I took a look at the Statistics API but I cannot find anything to remove a Did you mean result, is it possible to do this from code?
Might it be possible to filter out the types that you do not require from the Did You Mean / Autocomplete results:
var hits = terms.Hits.Where(x => x.Type == "Editorial").Take(10).Select(h =>
Text = h.Query
That might be a good interim solution for now Paul.
The client does want to be able to show suggested terms but remove ones that cause offence or are not necessarily related.
Have you looked into this feature?