DEV Community

Discussion on: Why I Love Zero Result Search as a Metric and You Should Too!

Collapse
 
sarahdayan profile image
Sarah Dayan • Edited

Thanks for this excellent post Amara! If you're using Algolia DocSearch, there are interesting patterns you can leverage when there are no results. We document them here. Note that in the case of DocSearch you don't control the indexing parameters but you can pass query-time parameters with the algoliaOptions setting.

One good pattern that we recommend is showing a friendlier no results state. This screen is an opportunity for you to interact with users, so you could provide them with helpful links, like your community forum, support email, or link to a pre-filled issue template on your open-source repository. You can see it in action on the Docusaurus website.