If your Query Suggestions index is returning unexpected or strange suggestions, it’s likely due to how the data is collected and processed. This article explains what’s happening and how you can address it.
How suggestions are generated
The Query Suggestions index is automatically built based on actual search activity from your site. The most frequently searched terms that pass certain checks, such as minimum number of hits or minimum query length, are ranked highest.
Why unusual suggestions may appear
While Algolia's Query Suggestions engine performs basic filtering, it does not currently detect or block spam or bot traffic. This means that if automated systems (like bots) are performing searches on your site, their queries can be captured and indexed as valid suggestions. As a result, you might see irrelevant or suspicious terms in the suggestions list.
How to mitigate bot influence
To reduce the impact of bots on your Query Suggestions, consider implementing bot mitigation strategies in your search frontend. For guidance, refer to the support article:
Handling High Levels of Bot Traffic