Chapter 10. Query suggestions

This chapter covers

  • Spell-checking
  • Suggesting query terms
  • Implementing a predictive instant search experience
  • Suggesting queries based on past user activity

In this chapter, we introduce two simple features to help improve the usability of your search solution. Specifically, we cover spell-checking and autosuggest. Spell-checking addresses the problem of misspelled query terms, leading to poor search results. You’ve probably seen an incarnation of spell-checking when using your favorite web search engine and it asks, Did you mean ...? Spell-checking is a crucial feature for helping users who don’t take the time to craft perfect queries, especially in mobile environments.

Autosuggest helps users as they type by ...

Get Solr in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.